Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009202/0.0009203, allocations: 192.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 229.5 MB / 247.7 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006991/0.0006991, allocations: 90.73 kB / 299.8 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2796/0.2796, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002475, allocations: 8 kB / 470.8 MB, free: 7.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2627, allocations: 63.1 MB / 0.5214 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.001486/0.2642, allocations: 1.311 MB / 0.5227 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007198/0.2649, allocations: 0.7324 MB / 0.5234 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.265, allocations: 0 / 0.5234 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.2652, allocations: 77.88 kB / 0.5234 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.2654, allocations: 88.64 kB / 0.5235 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.2656, allocations: 74.91 kB / 0.5236 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2657, allocations: 78.27 kB / 0.5237 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.2658, allocations: 18.97 kB / 0.5237 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.2659, allocations: 33.09 kB / 0.5237 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/0.2659, allocations: 48.08 kB / 0.5238 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.266, allocations: 6.766 kB / 0.5238 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.145e-05/0.266, allocations: 32.78 kB / 0.5238 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.2661, allocations: 21 kB / 0.5238 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.2661, allocations: 58.77 kB / 0.5239 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.2663, allocations: 101.8 kB / 0.524 GB, free: 36.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2663, allocations: 4 kB / 0.524 GB, free: 36.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2663, allocations: 0 / 0.524 GB, free: 36.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2663, allocations: 0 / 0.524 GB, free: 36.41 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003295/0.2666, allocations: 400 kB / 0.5244 GB, free: 36.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2667, allocations: 10.22 kB / 0.5244 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2667, allocations: 13.94 kB / 0.5244 GB, free: 36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2669, allocations: 198.3 kB / 0.5246 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2669, allocations: 384 / 0.5246 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.2669, allocations: 6.578 kB / 0.5246 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.267, allocations: 63.52 kB / 0.5246 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2671, allocations: 0 / 0.5246 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2671, allocations: 5.547 kB / 0.5247 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2671, allocations: 0 / 0.5247 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.581e-05/0.2672, allocations: 24.91 kB / 0.5247 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.2675, allocations: 299.5 kB / 0.525 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.405e-05/0.2676, allocations: 48.81 kB / 0.525 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.2676, allocations: 20.81 kB / 0.525 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2677, allocations: 80 / 0.525 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.2677, allocations: 34.56 kB / 0.5251 GB, free: 35.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.2677, allocations: 3.031 kB / 0.5251 GB, free: 35.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007598/0.2685, allocations: 247.3 kB / 0.5253 GB, free: 35.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2685, allocations: 51.41 kB / 0.5253 GB, free: 35.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.2687, allocations: 222.5 kB / 0.5256 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.2687, allocations: 29.7 kB / 0.5256 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.2687, allocations: 104.8 kB / 0.5257 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.2687, allocations: 26.2 kB / 0.5257 GB, free: 34.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.2688, allocations: 7.938 kB / 0.5257 GB, free: 34.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.2688, allocations: 321.6 kB / 0.526 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.2689, allocations: 26.97 kB / 0.5261 GB, free: 34.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.682e-05/0.2689, allocations: 37.14 kB / 0.5261 GB, free: 34.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.2691, allocations: 66.78 kB / 0.5262 GB, free: 34.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2691, allocations: 0 / 0.5262 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001625/0.2693, allocations: 111 kB / 0.5263 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2693, allocations: 5.844 kB / 0.5263 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2693, allocations: 4 kB / 0.5263 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2693, allocations: 2.594 kB / 0.5263 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/0.2694, allocations: 20.34 kB / 0.5263 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2694, allocations: 2.844 kB / 0.5263 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.2694, allocations: 20.86 kB / 0.5263 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.2695, allocations: 0 / 0.5263 GB, free: 34.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.2695, allocations: 123 kB / 0.5264 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.2696, allocations: 17.08 kB / 0.5264 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.2698, allocations: 125 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2698, allocations: 7.047 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.185e-06/0.2698, allocations: 2.719 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2698, allocations: 3.938 kB / 0.5266 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.2702, allocations: 411.9 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2702, allocations: 2.875 kB / 0.527 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.2702, allocations: 25.2 kB / 0.527 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2703, allocations: 3.938 kB / 0.527 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2703, allocations: 2.719 kB / 0.527 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2703, allocations: 0 / 0.527 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2703, allocations: 2.75 kB / 0.527 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.2705, allocations: 207.3 kB / 0.5272 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.2705, allocations: 91.8 kB / 0.5273 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.2705, allocations: 6.969 kB / 0.5273 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.2706, allocations: 6.469 kB / 0.5273 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.2706, allocations: 17.19 kB / 0.5273 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.2707, allocations: 2.844 kB / 0.5273 GB, free: 33.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.738e-05/0.2707, allocations: 161.9 kB / 0.5275 GB, free: 33.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2708, allocations: 0 / 0.5275 GB, free: 33.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.271, allocations: 29.48 kB / 0.5275 GB, free: 33.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008832/0.2719, allocations: 0.5025 MB / 0.528 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.272, allocations: 76.81 kB / 0.5281 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2721, allocations: 0 / 0.5281 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.2721, allocations: 41 kB / 0.5281 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.2724, allocations: 16.95 kB / 0.5281 GB, free: 33.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.2728, allocations: 298 kB / 0.5284 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.2729, allocations: 0.7094 MB / 0.5291 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.2729, allocations: 14.69 kB / 0.5291 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.273, allocations: 13.59 kB / 0.5291 GB, free: 32.24 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.273, allocations: 4 kB / 0.5291 GB, free: 32.23 MB / 378.7 MB Notification: Performance of Templates: time 0.002954/0.2759, allocations: 1.276 MB / 0.5304 GB, free: 32.08 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches