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.001323/0.001323, allocations: 112.9 kB / 18.45 MB, free: 4.594 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.00164/0.00164, allocations: 183 kB / 19.38 MB, free: 3.672 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.335/1.335, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2192/0.2192, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 63.89 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3459, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003345/0.3493, allocations: 1.808 MB / 0.5214 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3511, allocations: 0.9604 MB / 0.5223 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.3513, allocations: 1.125 kB / 0.5223 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006649/0.352, allocations: 294.4 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.3524, allocations: 210.7 kB / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.3529, allocations: 162.7 kB / 0.523 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004773/0.3534, allocations: 244.1 kB / 0.5232 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.633e-05/0.3535, allocations: 9.875 kB / 0.5232 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.3538, allocations: 135.5 kB / 0.5233 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.3542, allocations: 186.2 kB / 0.5235 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.479e-05/0.3542, allocations: 10.59 kB / 0.5235 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.3544, allocations: 40.59 kB / 0.5236 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3546, allocations: 136.8 kB / 0.5237 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.3547, allocations: 138.5 kB / 0.5238 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.3553, allocations: 359.2 kB / 0.5242 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3553, allocations: 0 / 0.5242 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3553, allocations: 0 / 0.5242 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.3553, allocations: 0.9375 kB / 0.5242 GB, free: 1.035 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.001139/0.3565, allocations: 0.7435 MB / 0.5249 GB, free: 420 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3565, allocations: 8.875 kB / 0.5249 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.3567, allocations: 54.47 kB / 0.525 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/0.3574, allocations: 445.5 kB / 0.5254 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3574, allocations: 2.75 kB / 0.5254 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.3574, allocations: 7.938 kB / 0.5254 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.3576, allocations: 91.53 kB / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3577, allocations: 0 / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3577, allocations: 1.625 kB / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3577, allocations: 0 / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3578, allocations: 30.03 kB / 0.5255 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.3584, allocations: 369.6 kB / 0.5259 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.3587, allocations: 110 kB / 0.526 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3588, allocations: 43.72 kB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3588, allocations: 3.984 kB / 0.526 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.359, allocations: 113.2 kB / 0.5261 GB, free: 15.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.3591, allocations: 0 / 0.5261 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005466/0.3596, allocations: 202.2 kB / 0.5263 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3597, allocations: 79.09 kB / 0.5264 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.361, allocations: 1.003 MB / 0.5274 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.361, allocations: 31.48 kB / 0.5274 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.3612, allocations: 233.2 kB / 0.5276 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.3613, allocations: 33.09 kB / 0.5277 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.3614, allocations: 26.16 kB / 0.5277 GB, free: 14.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3616, allocations: 364.9 kB / 0.528 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.3617, allocations: 27.36 kB / 0.5281 GB, free: 14.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3618, allocations: 58.75 kB / 0.5281 GB, free: 14.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.362, allocations: 85.55 kB / 0.5282 GB, free: 14.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.362, allocations: 3.938 kB / 0.5282 GB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003529/0.3624, allocations: 178.6 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3624, allocations: 8.938 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3624, allocations: 0 / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3624, allocations: 2.375 kB / 0.5284 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.3625, allocations: 25.58 kB / 0.5284 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3626, allocations: 4.906 kB / 0.5284 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3627, allocations: 9.672 kB / 0.5284 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3627, allocations: 8.281 kB / 0.5284 GB, free: 14 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.0002077/0.3629, allocations: 219.3 kB / 0.5286 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.363, allocations: 53.89 kB / 0.5287 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/0.3631, allocations: 56.81 kB / 0.5287 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.3631, allocations: 0 / 0.5287 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.3631, allocations: 9.562 kB / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3632, allocations: 137 kB / 0.5289 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/0.3633, allocations: 6.469 kB / 0.5289 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.3634, allocations: 6.703 kB / 0.5289 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.3634, allocations: 20.94 kB / 0.5289 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003339/0.3637, allocations: 278.8 kB / 0.5292 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003919/0.3641, allocations: 423.7 kB / 0.5296 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.549e-05/0.3642, allocations: 34.47 kB / 0.5296 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008293/0.3651, allocations: 0.7506 MB / 0.5304 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Backend: time 4.3e-07/0.3651, allocations: 0 / 0.5304 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.3668, allocations: 0.5992 MB / 0.5309 GB, free: 12.43 MB / 398.1 MB Notification: Performance of SimCode: time 0.001421/0.3683, allocations: 1.245 MB / 0.5322 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Templates: time 0.009094/0.3774, allocations: 3.845 MB / 0.5359 GB, free: 9.648 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/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