Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 185 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1974/0.1974, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 67.84 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3423, allocations: 60.81 MB / 0.519 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002782/0.3451, allocations: 1.795 MB / 0.5207 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3464, allocations: 0.9652 MB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.3465, allocations: 1.156 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005654/0.3471, allocations: 295.3 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.3475, allocations: 209.6 kB / 0.5221 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.3478, allocations: 171.3 kB / 0.5223 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.3481, allocations: 242.3 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.3482, allocations: 14.12 kB / 0.5226 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.3483, allocations: 126.9 kB / 0.5227 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3485, allocations: 181.3 kB / 0.5228 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.3486, allocations: 6.062 kB / 0.5229 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3487, allocations: 49.2 kB / 0.5229 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3488, allocations: 131.8 kB / 0.523 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.349, allocations: 139.1 kB / 0.5232 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.3494, allocations: 358.5 kB / 0.5235 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3494, allocations: 1.469 kB / 0.5235 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3494, allocations: 4.75 kB / 0.5235 GB, free: 1.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.3494, allocations: 3.938 kB / 0.5235 GB, free: 1.012 MB / 382.1 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.0008943/0.3503, allocations: 0.7316 MB / 0.5242 GB, free: 408 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3503, allocations: 10.81 kB / 0.5242 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.311e-05/0.3504, allocations: 55.58 kB / 0.5243 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008177/0.3513, allocations: 442.8 kB / 0.5247 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.3513, allocations: 7.828 kB / 0.5247 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.3513, allocations: 6.875 kB / 0.5247 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.3517, allocations: 90.89 kB / 0.5248 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3517, allocations: 0 / 0.5248 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3517, allocations: 5.922 kB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.3517, allocations: 1.375 kB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.3519, allocations: 30.11 kB / 0.5248 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.3525, allocations: 368.1 kB / 0.5252 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.3528, allocations: 109.8 kB / 0.5253 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3529, allocations: 43.36 kB / 0.5253 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3529, allocations: 6.062 kB / 0.5253 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.3532, allocations: 116.4 kB / 0.5255 GB, free: 15.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3532, allocations: 0 / 0.5255 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005498/0.3537, allocations: 193.7 kB / 0.5256 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.3538, allocations: 84.17 kB / 0.5257 GB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.3548, allocations: 1.007 MB / 0.5267 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3549, allocations: 32.17 kB / 0.5267 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.355, allocations: 228.5 kB / 0.527 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.3551, allocations: 28.95 kB / 0.527 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.3551, allocations: 29.52 kB / 0.527 GB, free: 14.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3553, allocations: 366.6 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.241e-05/0.3554, allocations: 26.95 kB / 0.5274 GB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.3555, allocations: 61.42 kB / 0.5274 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.3557, allocations: 82.94 kB / 0.5275 GB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3557, allocations: 0 / 0.5275 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002746/0.356, allocations: 173.8 kB / 0.5277 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.356, allocations: 17.39 kB / 0.5277 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.356, allocations: 0.625 kB / 0.5277 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.356, allocations: 2.312 kB / 0.5277 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3561, allocations: 17.91 kB / 0.5277 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3562, allocations: 9.297 kB / 0.5277 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.3563, allocations: 7.922 kB / 0.5277 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.3563, allocations: 16.03 kB / 0.5278 GB, free: 13.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001915/0.3565, allocations: 219.1 kB / 0.528 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.3565, allocations: 53.55 kB / 0.528 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.338e-05/0.3566, allocations: 61.88 kB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3566, allocations: 1.031 kB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3566, allocations: 1.125 kB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3566, allocations: 0.9688 kB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.357, allocations: 338.4 kB / 0.5284 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.357, allocations: 0 / 0.5284 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.357, allocations: 11.08 kB / 0.5284 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.357, allocations: 1.219 kB / 0.5284 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.357, allocations: 1.281 kB / 0.5284 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.357, allocations: 1.219 kB / 0.5284 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3571, allocations: 9.094 kB / 0.5284 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.3574, allocations: 204.6 kB / 0.5286 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3575, allocations: 137.3 kB / 0.5288 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.3576, allocations: 9.234 kB / 0.5288 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.3576, allocations: 3.562 kB / 0.5288 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.3577, allocations: 16.39 kB / 0.5288 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.3577, allocations: 5.188 kB / 0.5288 GB, free: 13.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007819/0.3585, allocations: 0.7493 MB / 0.5295 GB, free: 12.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3585, allocations: 0.9375 kB / 0.5295 GB, free: 12.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3588, allocations: 38.78 kB / 0.5296 GB, free: 12.81 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009118/0.3597, allocations: 420 kB / 0.53 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.36, allocations: 82.66 kB / 0.53 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.36, allocations: 1.406 kB / 0.53 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3601, allocations: 38.83 kB / 0.5301 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3605, allocations: 75.89 kB / 0.5301 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3617, allocations: 0.8451 MB / 0.531 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.3622, allocations: 0.8447 MB / 0.5318 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.3623, allocations: 52.89 kB / 0.5318 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.1e-05/0.3624, allocations: 30.52 kB / 0.5319 GB, free: 11.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3624, allocations: 0 / 0.5319 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Templates: time 0.008609/0.371, allocations: 3.704 MB / 0.5355 GB, free: 9.469 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches