Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 117.2 kB / 17.78 MB, free: 5.234 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.001338/0.001338, allocations: 184.2 kB / 18.72 MB, free: 4.312 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.399/1.399, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2349/0.2349, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4165, allocations: 60.82 MB / 0.519 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00312/0.4196, allocations: 1.807 MB / 0.5207 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.4212, allocations: 0.9607 MB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.4212, allocations: 4.938 kB / 0.5217 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.4218, allocations: 303.8 kB / 0.522 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.4222, allocations: 210.2 kB / 0.5222 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.4226, allocations: 175.4 kB / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.4229, allocations: 236.6 kB / 0.5226 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.4229, allocations: 6.484 kB / 0.5226 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.4231, allocations: 138.3 kB / 0.5227 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.4234, allocations: 193.9 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.4234, allocations: 7.344 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.4235, allocations: 43.38 kB / 0.5229 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.4237, allocations: 135.2 kB / 0.5231 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.4238, allocations: 145.5 kB / 0.5232 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.4242, allocations: 372.4 kB / 0.5236 GB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4242, allocations: 0 / 0.5236 GB, free: 1.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4242, allocations: 0 / 0.5236 GB, free: 1.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4242, allocations: 1.875 kB / 0.5236 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.0008598/0.4251, allocations: 0.7434 MB / 0.5243 GB, free: 400 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4251, allocations: 8.969 kB / 0.5243 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.4252, allocations: 50.56 kB / 0.5243 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.4257, allocations: 454.5 kB / 0.5248 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4257, allocations: 2.453 kB / 0.5248 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.4257, allocations: 10.88 kB / 0.5248 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.426, allocations: 83.33 kB / 0.5249 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.426, allocations: 0 / 0.5249 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.426, allocations: 5.375 kB / 0.5249 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.426, allocations: 2.078 kB / 0.5249 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.4261, allocations: 29.39 kB / 0.5249 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.4265, allocations: 377.4 kB / 0.5253 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.4268, allocations: 107 kB / 0.5254 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.4269, allocations: 41.22 kB / 0.5254 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.4269, allocations: 1.375 kB / 0.5254 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.4271, allocations: 108.5 kB / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4271, allocations: 0 / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004799/0.4276, allocations: 207.1 kB / 0.5257 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.4277, allocations: 79.14 kB / 0.5258 GB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.4287, allocations: 1.038 MB / 0.5268 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4287, allocations: 31.08 kB / 0.5268 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.4289, allocations: 236.9 kB / 0.527 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.4289, allocations: 28.56 kB / 0.5271 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.429, allocations: 30.98 kB / 0.5271 GB, free: 14.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4291, allocations: 365.8 kB / 0.5275 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.4292, allocations: 27.55 kB / 0.5275 GB, free: 14.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.4293, allocations: 58.16 kB / 0.5275 GB, free: 14.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.4295, allocations: 94.23 kB / 0.5276 GB, free: 14.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4295, allocations: 0 / 0.5276 GB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002852/0.4298, allocations: 174.5 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4298, allocations: 5.25 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4298, allocations: 1.344 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4298, allocations: 6.562 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4299, allocations: 25.3 kB / 0.5278 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4299, allocations: 1.156 kB / 0.5278 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-05/0.43, allocations: 9.062 kB / 0.5278 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.43, allocations: 4.156 kB / 0.5278 GB, free: 13.96 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.0001989/0.4302, allocations: 221.8 kB / 0.5281 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.4303, allocations: 53.59 kB / 0.5281 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.059e-05/0.4304, allocations: 62.41 kB / 0.5282 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.4304, allocations: 10.14 kB / 0.5282 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4304, allocations: 4 kB / 0.5282 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4304, allocations: 1.031 kB / 0.5282 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.4307, allocations: 340.6 kB / 0.5285 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4307, allocations: 0.5938 kB / 0.5285 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.4307, allocations: 9.938 kB / 0.5285 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4307, allocations: 1.062 kB / 0.5285 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4307, allocations: 6.016 kB / 0.5285 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4307, allocations: 5.375 kB / 0.5285 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4307, allocations: 0.8125 kB / 0.5285 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.4311, allocations: 204.9 kB / 0.5287 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.4312, allocations: 142.5 kB / 0.5289 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.4312, allocations: 6.031 kB / 0.5289 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.4313, allocations: 6.359 kB / 0.5289 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.4314, allocations: 12.48 kB / 0.5289 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.4314, allocations: 4.344 kB / 0.5289 GB, free: 13.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000797/0.4322, allocations: 0.7718 MB / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4322, allocations: 0 / 0.5296 GB, free: 12.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000266/0.4325, allocations: 43.52 kB / 0.5297 GB, free: 12.77 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.0009117/0.4334, allocations: 419.4 kB / 0.5301 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.4336, allocations: 80.59 kB / 0.5302 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4336, allocations: 0 / 0.5302 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4337, allocations: 41.34 kB / 0.5302 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.4341, allocations: 71 kB / 0.5303 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.4352, allocations: 0.8786 MB / 0.5311 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.4357, allocations: 0.8424 MB / 0.5319 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.4358, allocations: 60.91 kB / 0.532 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.4359, allocations: 26.41 kB / 0.532 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4359, allocations: 0 / 0.532 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Templates: time 0.008292/0.4442, allocations: 3.761 MB / 0.5357 GB, free: 9.387 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches