Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001547/0.001547, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.487/1.487, allocations: 222.9 MB / 242.4 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.224/0.224, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 67.89 kB / 470.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4174, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003772/0.4212, allocations: 1.892 MB / 0.5208 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.4228, allocations: 0.9912 MB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.302e-05/0.4229, allocations: 6.125 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.4234, allocations: 220.2 kB / 0.522 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.4238, allocations: 169.4 kB / 0.5222 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.4243, allocations: 180.1 kB / 0.5224 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.4246, allocations: 241.2 kB / 0.5226 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4247, allocations: 31.17 kB / 0.5226 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.4249, allocations: 114.8 kB / 0.5227 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.4251, allocations: 158.4 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.4252, allocations: 7.531 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.4253, allocations: 59.77 kB / 0.5229 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.508e-05/0.4254, allocations: 55.72 kB / 0.523 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.4255, allocations: 93.91 kB / 0.5231 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.4258, allocations: 241.3 kB / 0.5233 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4258, allocations: 0 / 0.5233 GB, free: 1.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4259, allocations: 0 / 0.5233 GB, free: 1.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.4259, allocations: 1.375 kB / 0.5233 GB, free: 1.02 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006099/0.4265, allocations: 0.5459 MB / 0.5239 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.4265, allocations: 9.922 kB / 0.5239 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.4266, allocations: 33.09 kB / 0.5239 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.4269, allocations: 272.5 kB / 0.5242 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4269, allocations: 11.31 kB / 0.5242 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.427, allocations: 14.36 kB / 0.5242 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.4272, allocations: 106.2 kB / 0.5243 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4273, allocations: 7.391 kB / 0.5243 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4273, allocations: 4.891 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4273, allocations: 3.281 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.4274, allocations: 44.02 kB / 0.5243 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.428, allocations: 474 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.4284, allocations: 121.2 kB / 0.5249 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4285, allocations: 49.12 kB / 0.525 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.4285, allocations: 6.125 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.4287, allocations: 117.6 kB / 0.5251 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.4288, allocations: 0 / 0.5251 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001287/0.43, allocations: 0.5008 MB / 0.5256 GB, free: 15.33 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.4301, allocations: 85.08 kB / 0.5256 GB, free: 15.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.4306, allocations: 421.3 kB / 0.526 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.4306, allocations: 33.61 kB / 0.5261 GB, free: 15.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.4308, allocations: 153.8 kB / 0.5262 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.4308, allocations: 68.83 kB / 0.5263 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.4309, allocations: 40.55 kB / 0.5263 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4311, allocations: 350.4 kB / 0.5267 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4312, allocations: 57.33 kB / 0.5267 GB, free: 14.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.4314, allocations: 92.25 kB / 0.5268 GB, free: 14.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.4316, allocations: 168.1 kB / 0.527 GB, free: 14.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4317, allocations: 0 / 0.527 GB, free: 14.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003984/0.4321, allocations: 242 kB / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4321, allocations: 9.438 kB / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4321, allocations: 1.375 kB / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4321, allocations: 1.375 kB / 0.5272 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4323, allocations: 42.3 kB / 0.5272 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4323, allocations: 2.75 kB / 0.5272 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.4324, allocations: 16.17 kB / 0.5273 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.4324, allocations: 10.81 kB / 0.5273 GB, free: 14.12 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001614/0.4325, allocations: 165 kB / 0.5274 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.4326, allocations: 37.12 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.181e-05/0.4327, allocations: 42.47 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4327, allocations: 3.75 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4327, allocations: 0 / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4327, allocations: 5.328 kB / 0.5275 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009159/0.4336, allocations: 0.7207 MB / 0.5282 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4337, allocations: 2.188 kB / 0.5282 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.4337, allocations: 31.67 kB / 0.5283 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4338, allocations: 2.969 kB / 0.5283 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.4338, allocations: 12.22 kB / 0.5283 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4338, allocations: 3.562 kB / 0.5283 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4338, allocations: 5.375 kB / 0.5283 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005667/0.4344, allocations: 424.6 kB / 0.5287 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.4344, allocations: 101.9 kB / 0.5288 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.4345, allocations: 7.719 kB / 0.5288 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4346, allocations: 12.05 kB / 0.5288 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.4347, allocations: 21.61 kB / 0.5288 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4347, allocations: 12.67 kB / 0.5288 GB, free: 12.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003166/0.435, allocations: 315.7 kB / 0.5291 GB, free: 12.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.435, allocations: 1.219 kB / 0.5291 GB, free: 12.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.4354, allocations: 51.14 kB / 0.5292 GB, free: 12.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001139/0.4365, allocations: 0.5161 MB / 0.5297 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.4369, allocations: 155.5 kB / 0.5298 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4369, allocations: 0 / 0.5298 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.4371, allocations: 87.56 kB / 0.5299 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005454/0.4376, allocations: 67.47 kB / 0.53 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/0.4386, allocations: 0.532 MB / 0.5305 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.439, allocations: 0.7802 MB / 0.5313 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.4391, allocations: 40.02 kB / 0.5313 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.956e-05/0.4392, allocations: 33.14 kB / 0.5313 GB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4392, allocations: 0 / 0.5313 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Templates: time 0.006628/0.4458, allocations: 3.134 MB / 0.5344 GB, free: 9.566 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches