Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001594/0.001595, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.419/1.419, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2277/0.2277, allocations: 44.18 MB / 336.7 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4143, allocations: 60.81 MB / 0.519 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00331/0.4176, allocations: 1.705 MB / 0.5206 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.4191, allocations: 0.8714 MB / 0.5215 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.4192, allocations: 5.281 kB / 0.5215 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.4196, allocations: 32.05 kB / 0.5215 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.4198, allocations: 57.84 kB / 0.5216 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.4201, allocations: 105.5 kB / 0.5217 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.4203, allocations: 99.38 kB / 0.5218 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.4204, allocations: 16 kB / 0.5218 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.4205, allocations: 41.11 kB / 0.5218 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.78e-05/0.4207, allocations: 34.47 kB / 0.5219 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.4207, allocations: 3.25 kB / 0.5219 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.4208, allocations: 46.55 kB / 0.5219 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.4209, allocations: 16.02 kB / 0.5219 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.4209, allocations: 28.73 kB / 0.522 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.4212, allocations: 110.3 kB / 0.5221 GB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4212, allocations: 0 / 0.5221 GB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4212, allocations: 1.375 kB / 0.5221 GB, free: 1.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4212, allocations: 0 / 0.5221 GB, free: 1.824 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005189/0.4217, allocations: 395.1 kB / 0.5224 GB, free: 1.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4218, allocations: 10.44 kB / 0.5225 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.4218, allocations: 13.5 kB / 0.5225 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.4221, allocations: 204.1 kB / 0.5227 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.4221, allocations: 5.281 kB / 0.5227 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.4221, allocations: 2.594 kB / 0.5227 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.4223, allocations: 62.88 kB / 0.5227 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4223, allocations: 0 / 0.5227 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4223, allocations: 0 / 0.5227 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.4223, allocations: 5.469 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.892e-05/0.4224, allocations: 19 kB / 0.5228 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.4227, allocations: 287 kB / 0.523 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.4229, allocations: 60.14 kB / 0.5231 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.423, allocations: 19.92 kB / 0.5231 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.423, allocations: 5.125 kB / 0.5231 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.4231, allocations: 66.88 kB / 0.5232 GB, free: 0.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4232, allocations: 0 / 0.5232 GB, free: 0.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000518/0.4237, allocations: 163.1 kB / 0.5233 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.4237, allocations: 61.14 kB / 0.5234 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.4239, allocations: 164.3 kB / 0.5235 GB, free: 488 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.4239, allocations: 27.75 kB / 0.5236 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.4239, allocations: 102.2 kB / 0.5237 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.424, allocations: 21.19 kB / 0.5237 GB, free: 340 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.424, allocations: 22.75 kB / 0.5237 GB, free: 320 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.4241, allocations: 321.6 kB / 0.524 GB, free: 16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.4242, allocations: 20.77 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.4243, allocations: 43.47 kB / 0.5241 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.4244, allocations: 74.55 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4244, allocations: 0 / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.4246, allocations: 100.6 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4246, allocations: 8.844 kB / 0.5243 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4247, allocations: 0 / 0.5243 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4247, allocations: 5.844 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.4248, allocations: 14.84 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4248, allocations: 2.188 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.4248, allocations: 11.42 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4249, allocations: 1.531 kB / 0.5243 GB, free: 15.84 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 (10): * Single equations (assignments): 10 * 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.0001091/0.425, allocations: 123.2 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.425, allocations: 10 kB / 0.5244 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.4251, allocations: 18.58 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4251, allocations: 0 / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4251, allocations: 1.281 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.788e-06/0.4251, allocations: 4.594 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.4256, allocations: 395.5 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4256, allocations: 0.6094 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.4256, allocations: 9.141 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4256, allocations: 1.562 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4257, allocations: 1.938 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4257, allocations: 0.9375 kB / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4257, allocations: 0 / 0.5248 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.4259, allocations: 213.8 kB / 0.525 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.426, allocations: 88.55 kB / 0.5251 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.426, allocations: 2.469 kB / 0.5251 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.4261, allocations: 3.203 kB / 0.5251 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.4261, allocations: 9.672 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.4262, allocations: 2.438 kB / 0.5251 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.4263, allocations: 124.9 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4263, allocations: 0 / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.4266, allocations: 29.17 kB / 0.5253 GB, free: 14.96 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001361/0.4279, allocations: 470.8 kB / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.4282, allocations: 71.11 kB / 0.5258 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4282, allocations: 1.125 kB / 0.5258 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.4283, allocations: 32.55 kB / 0.5258 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.4287, allocations: 22.92 kB / 0.5259 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.4294, allocations: 201 kB / 0.526 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.4299, allocations: 0.7013 MB / 0.5267 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.142e-05/0.43, allocations: 12.72 kB / 0.5267 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.4301, allocations: 17.38 kB / 0.5268 GB, free: 13.82 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4301, allocations: 0 / 0.5268 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Templates: time 0.00663/0.4367, allocations: 1.69 MB / 0.5284 GB, free: 13.27 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches