Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 113.8 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.002011/0.002011, allocations: 183.9 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.418/1.418, allocations: 222.9 MB / 242.4 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.2199/0.2199, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.84 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3911, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002956/0.3941, allocations: 1.719 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3954, allocations: 0.8665 MB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.3955, allocations: 5.094 kB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.3958, allocations: 34.73 kB / 0.5215 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.396, allocations: 57.62 kB / 0.5216 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.3963, allocations: 110 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.3965, allocations: 104.1 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3966, allocations: 12.23 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.3967, allocations: 42.22 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.3968, allocations: 29.64 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3968, allocations: 3.438 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.73e-05/0.3969, allocations: 42.62 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.397, allocations: 17.91 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.397, allocations: 37.09 kB / 0.522 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.3972, allocations: 104.8 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3972, allocations: 5.094 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3973, allocations: 0.6562 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3973, allocations: 0 / 0.5221 GB, free: 1.539 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.0004994/0.3978, allocations: 407.2 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.3978, allocations: 9.438 kB / 0.5225 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.3979, allocations: 9.688 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.3981, allocations: 213.7 kB / 0.5227 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3982, allocations: 5.562 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.3982, allocations: 6.938 kB / 0.5227 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.3984, allocations: 54.23 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3984, allocations: 4.969 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3984, allocations: 0 / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3984, allocations: 1.875 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.3985, allocations: 18.16 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.3989, allocations: 284.5 kB / 0.5231 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3991, allocations: 52.55 kB / 0.5231 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.981e-05/0.3991, allocations: 27.69 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3991, allocations: 1.469 kB / 0.5231 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.3993, allocations: 70.25 kB / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.3993, allocations: 0 / 0.5232 GB, free: 472 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005769/0.3999, allocations: 176.1 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.3999, allocations: 56.84 kB / 0.5234 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.4001, allocations: 169.4 kB / 0.5236 GB, free: 188 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.4001, allocations: 27.23 kB / 0.5236 GB, free: 156 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.4002, allocations: 99.59 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.4002, allocations: 25.98 kB / 0.5237 GB, free: 40 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.4002, allocations: 25.14 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4004, allocations: 330.4 kB / 0.5241 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.4005, allocations: 21.06 kB / 0.5241 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.4006, allocations: 39.28 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.4007, allocations: 61.84 kB / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4007, allocations: 0 / 0.5242 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000207/0.4009, allocations: 104.5 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4009, allocations: 6 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.401, allocations: 1.094 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.401, allocations: 5.109 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4011, allocations: 19.95 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.4011, allocations: 0.5625 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.4012, allocations: 10.8 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4012, allocations: 3.781 kB / 0.5243 GB, free: 15.54 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.0001087/0.4013, allocations: 124 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.4013, allocations: 12.41 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.4014, allocations: 19.8 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.4014, allocations: 2.156 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4014, allocations: 0 / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4014, allocations: 4.734 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004946/0.4019, allocations: 389 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4019, allocations: 0 / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.402, allocations: 8.656 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.402, allocations: 5.438 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.402, allocations: 10.88 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.402, allocations: 0.6562 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.402, allocations: 1.438 kB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.4023, allocations: 200.2 kB / 0.5251 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.289e-05/0.4023, allocations: 85.28 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.4024, allocations: 14.05 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.4025, allocations: 2.156 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.4025, allocations: 9.984 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.4025, allocations: 4.859 kB / 0.5252 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.4027, allocations: 133.8 kB / 0.5253 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.743e-06/0.4027, allocations: 0 / 0.5253 GB, free: 14.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.403, allocations: 26.5 kB / 0.5253 GB, free: 14.66 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.001036/0.404, allocations: 468.6 kB / 0.5258 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4042, allocations: 59.27 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4042, allocations: 1.156 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.4043, allocations: 28.36 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.4046, allocations: 29.05 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.4051, allocations: 208.5 kB / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.4055, allocations: 0.7004 MB / 0.5268 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.445e-05/0.4055, allocations: 24.86 kB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.4056, allocations: 20.23 kB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4056, allocations: 0 / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.005614/0.4112, allocations: 1.702 MB / 0.5285 GB, free: 12.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches