Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 109.5 kB / 18.45 MB, free: 4.59 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.001158/0.001158, allocations: 184.3 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.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.1963/0.1963, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.88 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4053, allocations: 60.82 MB / 0.5197 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002972/0.4083, allocations: 1.659 MB / 0.5213 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.4095, allocations: 0.8629 MB / 0.5221 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.4096, allocations: 1.438 kB / 0.5221 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.4099, allocations: 53.86 kB / 0.5222 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.4101, allocations: 60.8 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.4104, allocations: 107.2 kB / 0.5223 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.4105, allocations: 89.02 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.4106, allocations: 5.578 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.487e-05/0.4107, allocations: 44.86 kB / 0.5225 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.4108, allocations: 24.48 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.4108, allocations: 7.141 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4109, allocations: 30.28 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.411, allocations: 27.36 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.4111, allocations: 37.39 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.4113, allocations: 114.9 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4113, allocations: 0 / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4113, allocations: 0.5625 kB / 0.5227 GB, free: 1.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4113, allocations: 1.125 kB / 0.5227 GB, free: 1.613 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005067/0.4118, allocations: 440.4 kB / 0.5231 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4119, allocations: 8.344 kB / 0.5231 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.4119, allocations: 15.75 kB / 0.5231 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.4122, allocations: 217.9 kB / 0.5233 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.4122, allocations: 2.188 kB / 0.5233 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.4122, allocations: 5.344 kB / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.4124, allocations: 50.92 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.4124, allocations: 0 / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.4124, allocations: 0.5156 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4124, allocations: 1.312 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.638e-05/0.4125, allocations: 18.75 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.4126, allocations: 190.3 kB / 0.5236 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.4128, allocations: 52.94 kB / 0.5237 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.4129, allocations: 26.73 kB / 0.5237 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4129, allocations: 1.844 kB / 0.5237 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.413, allocations: 72.2 kB / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.413, allocations: 0 / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002668/0.4133, allocations: 94.41 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.4133, allocations: 57.53 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.4136, allocations: 257.9 kB / 0.5241 GB, free: 328 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.4136, allocations: 25.7 kB / 0.5242 GB, free: 296 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.4136, allocations: 111 kB / 0.5243 GB, free: 192 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.4137, allocations: 15.34 kB / 0.5243 GB, free: 180 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.4137, allocations: 30.36 kB / 0.5243 GB, free: 152 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4138, allocations: 325.6 kB / 0.5246 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-05/0.4139, allocations: 18.38 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.414, allocations: 33.77 kB / 0.5247 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.4141, allocations: 43.05 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4141, allocations: 0 / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001653/0.4143, allocations: 94.56 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4143, allocations: 4.938 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4143, allocations: 1.094 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4143, allocations: 1.797 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.4144, allocations: 13.84 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4144, allocations: 1.156 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.4145, allocations: 2.891 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.4145, allocations: 2.688 kB / 0.5248 GB, free: 15.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001207/0.4146, allocations: 138.1 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.4146, allocations: 21.67 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.4147, allocations: 18.52 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4147, allocations: 0.8906 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4147, allocations: 0 / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.4147, allocations: 88.59 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.4148, allocations: 2.328 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.928e-05/0.4148, allocations: 6.328 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.4149, allocations: 4.109 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002198/0.4151, allocations: 160.9 kB / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002465/0.4154, allocations: 260.6 kB / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.58e-05/0.4154, allocations: 20.05 kB / 0.5255 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.4156, allocations: 204.3 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.4156, allocations: 0 / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.4169, allocations: 433.9 kB / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007071/0.4176, allocations: 0.7025 MB / 0.5268 GB, free: 14.13 MB / 398.1 MB Notification: Performance of Templates: time 0.004361/0.422, allocations: 1.553 MB / 0.5283 GB, free: 13.7 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches