Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001921/0.001921, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.458/1.458, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 67.84 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4878/0.4895, allocations: 60.82 MB / 0.519 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003908/0.4934, allocations: 1.896 MB / 0.5208 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.4953, allocations: 0.9883 MB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.4954, allocations: 5.219 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.4961, allocations: 255 kB / 0.5221 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.4965, allocations: 177.8 kB / 0.5222 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.497, allocations: 187.1 kB / 0.5224 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.4975, allocations: 251.3 kB / 0.5226 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.4977, allocations: 30.06 kB / 0.5227 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.4979, allocations: 130.9 kB / 0.5228 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.4982, allocations: 184.5 kB / 0.523 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.4982, allocations: 7.344 kB / 0.523 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.4984, allocations: 62.44 kB / 0.523 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.4985, allocations: 64.23 kB / 0.5231 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.4986, allocations: 94.28 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.4991, allocations: 244.1 kB / 0.5234 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4991, allocations: 0 / 0.5234 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4991, allocations: 3.938 kB / 0.5234 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.485e-06/0.4991, allocations: 1.219 kB / 0.5234 GB, free: 1.031 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.0008995/0.5, allocations: 0.564 MB / 0.524 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5001, allocations: 9.562 kB / 0.524 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.834e-05/0.5002, allocations: 31.09 kB / 0.524 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.5006, allocations: 289.6 kB / 0.5243 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.5006, allocations: 3.344 kB / 0.5243 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.5006, allocations: 17.52 kB / 0.5243 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.5009, allocations: 114.4 kB / 0.5244 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5009, allocations: 6.25 kB / 0.5244 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.501, allocations: 0.5156 kB / 0.5244 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.501, allocations: 1.438 kB / 0.5244 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.5011, allocations: 55.33 kB / 0.5245 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.5019, allocations: 478.4 kB / 0.5249 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.5023, allocations: 122 kB / 0.5251 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.5024, allocations: 48.55 kB / 0.5251 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.5025, allocations: 3.438 kB / 0.5251 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.5027, allocations: 115.1 kB / 0.5252 GB, free: 15.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.5027, allocations: 4 kB / 0.5252 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001408/0.5041, allocations: 0.5041 MB / 0.5257 GB, free: 15.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.5042, allocations: 84.55 kB / 0.5258 GB, free: 15.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.5048, allocations: 481 kB / 0.5263 GB, free: 15.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.5049, allocations: 32.83 kB / 0.5263 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.505, allocations: 161.6 kB / 0.5264 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/0.5051, allocations: 75.83 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.5052, allocations: 45.42 kB / 0.5266 GB, free: 14.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.5054, allocations: 350 kB / 0.5269 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.5055, allocations: 56.81 kB / 0.5269 GB, free: 14.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.5057, allocations: 95.75 kB / 0.527 GB, free: 14.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.506, allocations: 168.9 kB / 0.5272 GB, free: 14.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.506, allocations: 0 / 0.5272 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004549/0.5065, allocations: 232.2 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5065, allocations: 8.531 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5065, allocations: 1.156 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.5066, allocations: 2.688 kB / 0.5274 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.5067, allocations: 50.62 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.5067, allocations: 1.438 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.5068, allocations: 4.344 kB / 0.5275 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.5069, allocations: 13.97 kB / 0.5275 GB, free: 14.04 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.0001964/0.5071, allocations: 165.4 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.5071, allocations: 42.58 kB / 0.5277 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.5072, allocations: 44.69 kB / 0.5277 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.5072, allocations: 6.688 kB / 0.5277 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.5073, allocations: 5.375 kB / 0.5277 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5073, allocations: 1.375 kB / 0.5277 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.5084, allocations: 0.7329 MB / 0.5285 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5084, allocations: 1.344 kB / 0.5285 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.253e-05/0.5085, allocations: 31.73 kB / 0.5285 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.5085, allocations: 6.656 kB / 0.5285 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.5086, allocations: 8.125 kB / 0.5285 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.5086, allocations: 3.094 kB / 0.5285 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5086, allocations: 1.953 kB / 0.5285 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/0.5091, allocations: 422.5 kB / 0.5289 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.5092, allocations: 101.5 kB / 0.529 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.5093, allocations: 12.23 kB / 0.529 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.5095, allocations: 8.469 kB / 0.529 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.5095, allocations: 20.61 kB / 0.5291 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.5096, allocations: 17.52 kB / 0.5291 GB, free: 12.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004419/0.51, allocations: 359.6 kB / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.51, allocations: 0 / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.5104, allocations: 52.27 kB / 0.5295 GB, free: 12.52 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.001274/0.5117, allocations: 0.5164 MB / 0.53 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.5121, allocations: 152 kB / 0.5301 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5121, allocations: 1.156 kB / 0.5301 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.5123, allocations: 87.12 kB / 0.5302 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.5128, allocations: 59.77 kB / 0.5303 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.514, allocations: 0.5829 MB / 0.5308 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.5145, allocations: 0.784 MB / 0.5316 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.5146, allocations: 52.8 kB / 0.5316 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.5147, allocations: 25.28 kB / 0.5317 GB, free: 10.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5147, allocations: 0 / 0.5317 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Templates: time 0.009698/0.5244, allocations: 3.209 MB / 0.5348 GB, free: 9.379 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches