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.001183/0.001183, allocations: 110.4 kB / 17.78 MB, free: 5.285 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.001209/0.001209, allocations: 183.1 kB / 18.7 MB, free: 4.367 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.451/1.451, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2342/0.2342, allocations: 44.2 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4154, allocations: 60.82 MB / 0.519 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003723/0.4192, allocations: 1.681 MB / 0.5206 GB, free: 2.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.4208, allocations: 0.845 MB / 0.5214 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.421, allocations: 9.125 kB / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.4213, allocations: 49.95 kB / 0.5215 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.4217, allocations: 56.09 kB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.4221, allocations: 106.8 kB / 0.5216 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.4223, allocations: 96.98 kB / 0.5217 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.4223, allocations: 9.312 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.839e-05/0.4224, allocations: 40.34 kB / 0.5218 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.4225, allocations: 25.67 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.4226, allocations: 3.219 kB / 0.5218 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4227, allocations: 33.83 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.4228, allocations: 27.42 kB / 0.5219 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.4228, allocations: 37.84 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.423, allocations: 117.1 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4231, allocations: 5.469 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4231, allocations: 0 / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.4231, allocations: 0 / 0.522 GB, free: 1.59 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.0005076/0.4236, allocations: 429.7 kB / 0.5224 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4236, allocations: 10.22 kB / 0.5224 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.4237, allocations: 14.19 kB / 0.5225 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.4239, allocations: 218 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.424, allocations: 1.438 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.424, allocations: 15.2 kB / 0.5227 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4241, allocations: 46.66 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4242, allocations: 0 / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.4242, allocations: 0 / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.4242, allocations: 0.6562 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.4243, allocations: 15.73 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.4245, allocations: 186.5 kB / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.4246, allocations: 59.61 kB / 0.523 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.4247, allocations: 24.11 kB / 0.523 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.4247, allocations: 1.734 kB / 0.523 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.4249, allocations: 64.08 kB / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.4249, allocations: 0 / 0.5231 GB, free: 0.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002812/0.4252, allocations: 106.5 kB / 0.5232 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.4252, allocations: 55.41 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.4254, allocations: 262.6 kB / 0.5235 GB, free: 312 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.4255, allocations: 26.98 kB / 0.5235 GB, free: 280 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.4255, allocations: 110.2 kB / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.4256, allocations: 7.453 kB / 0.5236 GB, free: 172 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.4256, allocations: 24.33 kB / 0.5236 GB, free: 148 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4257, allocations: 327.8 kB / 0.5239 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.144e-05/0.4258, allocations: 14.92 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.4259, allocations: 30.58 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.426, allocations: 45.66 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.426, allocations: 0.9375 kB / 0.524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000164/0.4262, allocations: 85.22 kB / 0.5241 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4262, allocations: 6.031 kB / 0.5241 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4262, allocations: 5.219 kB / 0.5241 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4262, allocations: 8.016 kB / 0.5241 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.759e-05/0.4263, allocations: 19.55 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4263, allocations: 3 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.4264, allocations: 0.7969 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4264, allocations: 2.156 kB / 0.5241 GB, free: 15.69 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.0001144/0.4265, allocations: 137.8 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.4265, allocations: 14.81 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.4266, allocations: 17.56 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4266, allocations: 1.625 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4266, allocations: 4 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4266, allocations: 0.7969 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.4268, allocations: 197 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4268, allocations: 0.6094 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.4268, allocations: 7.047 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4268, allocations: 0 / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4268, allocations: 0.9219 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4269, allocations: 0 / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4269, allocations: 4.844 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.4271, allocations: 121.3 kB / 0.5246 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.4271, allocations: 88.72 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.4272, allocations: 2 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.586e-05/0.4272, allocations: 2.891 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4272, allocations: 7.797 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.4273, allocations: 2.766 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.4275, allocations: 200.2 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4275, allocations: 0 / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.4277, allocations: 22.73 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009895/0.4287, allocations: 413.2 kB / 0.5253 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.4289, allocations: 43.73 kB / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4289, allocations: 0 / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.4289, allocations: 18.88 kB / 0.5254 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.4292, allocations: 34.14 kB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.4298, allocations: 254.1 kB / 0.5257 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.4302, allocations: 0.7165 MB / 0.5264 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.4303, allocations: 14.88 kB / 0.5264 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.4303, allocations: 18.62 kB / 0.5264 GB, free: 13.9 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4303, allocations: 0 / 0.5264 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Templates: time 0.004606/0.4349, allocations: 1.546 MB / 0.5279 GB, free: 13.45 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/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