Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009616/0.0009617, allocations: 200.5 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007342/0.0007342, allocations: 107.9 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2842/0.2842, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.000269, allocations: 8 kB / 470.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2513, allocations: 63.1 MB / 0.5214 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001384/0.2527, allocations: 1.312 MB / 0.5226 GB, free: 37.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2538, allocations: 1.415 MB / 0.524 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.2539, allocations: 3.938 kB / 0.524 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.254, allocations: 26.14 kB / 0.5241 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.2542, allocations: 60.28 kB / 0.5241 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.2544, allocations: 81.08 kB / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2545, allocations: 66.45 kB / 0.5243 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.2546, allocations: 20.02 kB / 0.5243 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.2547, allocations: 34.56 kB / 0.5243 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.2566, allocations: 27.31 kB / 0.5243 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.2566, allocations: 2.969 kB / 0.5243 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.2568, allocations: 85.83 kB / 0.5244 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.2568, allocations: 6.75 kB / 0.5244 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.2569, allocations: 62.3 kB / 0.5245 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.257, allocations: 136.4 kB / 0.5246 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2571, allocations: 3.938 kB / 0.5246 GB, free: 36.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2571, allocations: 4 kB / 0.5246 GB, free: 36.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.2571, allocations: 0 / 0.5246 GB, free: 36.13 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003112/0.2574, allocations: 400.5 kB / 0.525 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.2574, allocations: 8.688 kB / 0.525 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.2575, allocations: 7.688 kB / 0.525 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2576, allocations: 198.2 kB / 0.5252 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.2576, allocations: 384 / 0.5252 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.2577, allocations: 11.38 kB / 0.5252 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2578, allocations: 78.55 kB / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2578, allocations: 0 / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.2578, allocations: 0 / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2578, allocations: 0 / 0.5253 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.485e-05/0.2579, allocations: 37.2 kB / 0.5253 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.2582, allocations: 309.1 kB / 0.5256 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.459e-05/0.2583, allocations: 46.31 kB / 0.5257 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.53e-05/0.2584, allocations: 26.97 kB / 0.5257 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.2584, allocations: 2.562 kB / 0.5257 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.2584, allocations: 34.56 kB / 0.5257 GB, free: 35.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.2584, allocations: 0 / 0.5257 GB, free: 35.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004965/0.2589, allocations: 192.8 kB / 0.5259 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.259, allocations: 79.64 kB / 0.526 GB, free: 34.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2591, allocations: 153.6 kB / 0.5261 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.2591, allocations: 32.23 kB / 0.5262 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.2591, allocations: 98.42 kB / 0.5263 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.2591, allocations: 25.72 kB / 0.5263 GB, free: 34.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.2592, allocations: 0 / 0.5263 GB, free: 34.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.724e-05/0.2592, allocations: 321.5 kB / 0.5266 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.2593, allocations: 28.23 kB / 0.5266 GB, free: 34.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.2593, allocations: 44.38 kB / 0.5267 GB, free: 34.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.2595, allocations: 79.16 kB / 0.5267 GB, free: 34.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.2595, allocations: 0 / 0.5267 GB, free: 34.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001653/0.2597, allocations: 98.38 kB / 0.5268 GB, free: 34.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.2597, allocations: 5.312 kB / 0.5268 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.2597, allocations: 2.969 kB / 0.5268 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2597, allocations: 0 / 0.5268 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.2598, allocations: 25.09 kB / 0.5269 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2598, allocations: 2.5 kB / 0.5269 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.2599, allocations: 24.97 kB / 0.5269 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.2599, allocations: 0 / 0.5269 GB, free: 34.15 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.239e-05/0.2599, allocations: 114.9 kB / 0.527 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.26, allocations: 9.594 kB / 0.527 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.2602, allocations: 125.5 kB / 0.5271 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2602, allocations: 2.781 kB / 0.5271 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2602, allocations: 0 / 0.5271 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.2602, allocations: 3.938 kB / 0.5271 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.2606, allocations: 393.8 kB / 0.5275 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2606, allocations: 3.094 kB / 0.5275 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.2607, allocations: 21.81 kB / 0.5275 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2607, allocations: 3.938 kB / 0.5275 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.2607, allocations: 10.97 kB / 0.5275 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2607, allocations: 3.938 kB / 0.5276 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2607, allocations: 4.234 kB / 0.5276 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.2609, allocations: 203.6 kB / 0.5277 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.2609, allocations: 87.52 kB / 0.5278 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2609, allocations: 7.938 kB / 0.5278 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.261, allocations: 16.98 kB / 0.5279 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.261, allocations: 3.031 kB / 0.5279 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2611, allocations: 3.312 kB / 0.5279 GB, free: 33.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.566e-05/0.2611, allocations: 119.5 kB / 0.528 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2611, allocations: 0 / 0.528 GB, free: 33.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.2614, allocations: 36.45 kB / 0.528 GB, free: 33.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0008875/0.2623, allocations: 0.56 MB / 0.5286 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.2625, allocations: 73.94 kB / 0.5286 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2625, allocations: 0 / 0.5286 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.2625, allocations: 45.09 kB / 0.5287 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.2628, allocations: 20.25 kB / 0.5287 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.2631, allocations: 215.8 kB / 0.5289 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.579e-05/0.2632, allocations: 0.6964 MB / 0.5296 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.2633, allocations: 13.39 kB / 0.5296 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.2633, allocations: 23.25 kB / 0.5296 GB, free: 31.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2633, allocations: 0 / 0.5296 GB, free: 31.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003336/0.2667, allocations: 1.791 MB / 0.5314 GB, free: 31.77 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches