Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001022, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2556/0.2556, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 79.88 kB / 481.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4566, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003436/0.4601, allocations: 1.835 MB / 0.5328 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.462, allocations: 1.092 MB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.4621, allocations: 1.375 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.4627, allocations: 304 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.4633, allocations: 258.8 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.4636, allocations: 109.2 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.464, allocations: 254.5 kB / 0.5348 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.027e-05/0.464, allocations: 18.56 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.4642, allocations: 128.6 kB / 0.5349 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.4645, allocations: 199.7 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.4645, allocations: 7 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.4647, allocations: 49.89 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.4649, allocations: 146.2 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.465, allocations: 152.4 kB / 0.5355 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.4655, allocations: 372.8 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4655, allocations: 0 / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4656, allocations: 0 / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.4656, allocations: 5.094 kB / 0.5358 GB, free: 10.2 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001047/0.4666, allocations: 0.758 MB / 0.5366 GB, free: 9.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4667, allocations: 10.06 kB / 0.5366 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.4668, allocations: 53.98 kB / 0.5366 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006637/0.4675, allocations: 461.4 kB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4675, allocations: 2.594 kB / 0.5371 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.4675, allocations: 10.31 kB / 0.5371 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.4678, allocations: 87.81 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4678, allocations: 1.031 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.4679, allocations: 4 kB / 0.5372 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4679, allocations: 1.094 kB / 0.5372 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.468, allocations: 32 kB / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.4684, allocations: 382.2 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.4687, allocations: 101.9 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.4688, allocations: 50.16 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.4689, allocations: 1.375 kB / 0.5377 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.4691, allocations: 112.1 kB / 0.5378 GB, free: 8.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.4691, allocations: 0 / 0.5378 GB, free: 8.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005052/0.4696, allocations: 205 kB / 0.538 GB, free: 8.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.4697, allocations: 86.72 kB / 0.5381 GB, free: 8.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.4709, allocations: 1.049 MB / 0.5391 GB, free: 7.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4709, allocations: 27.11 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.4712, allocations: 238 kB / 0.5394 GB, free: 7.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.4712, allocations: 33.2 kB / 0.5394 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.4713, allocations: 26.88 kB / 0.5394 GB, free: 7.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4715, allocations: 376.9 kB / 0.5398 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.4716, allocations: 27.58 kB / 0.5398 GB, free: 7.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.4717, allocations: 59.05 kB / 0.5399 GB, free: 7.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.4719, allocations: 93.84 kB / 0.54 GB, free: 6.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4719, allocations: 1.062 kB / 0.54 GB, free: 6.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003501/0.4723, allocations: 178.7 kB / 0.5401 GB, free: 6.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.4723, allocations: 5.812 kB / 0.5401 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4723, allocations: 1 kB / 0.5401 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4724, allocations: 2.25 kB / 0.5401 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.4725, allocations: 21.58 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4725, allocations: 1.156 kB / 0.5402 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4726, allocations: 8.922 kB / 0.5402 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4727, allocations: 15.5 kB / 0.5402 GB, free: 6.863 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002685/0.4729, allocations: 222.4 kB / 0.5404 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.473, allocations: 62.27 kB / 0.5405 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.4732, allocations: 63.61 kB / 0.5405 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4732, allocations: 0.875 kB / 0.5405 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4732, allocations: 1.094 kB / 0.5405 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4732, allocations: 1 kB / 0.5405 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.4736, allocations: 346.3 kB / 0.5409 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4736, allocations: 4 kB / 0.5409 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.4737, allocations: 7.188 kB / 0.5409 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4737, allocations: 1.281 kB / 0.5409 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4737, allocations: 5.109 kB / 0.5409 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4737, allocations: 2 kB / 0.5409 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4737, allocations: 3.938 kB / 0.5409 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.4741, allocations: 205.1 kB / 0.5411 GB, free: 6.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.4743, allocations: 143.1 kB / 0.5412 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.4743, allocations: 10.59 kB / 0.5412 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.4744, allocations: 7.391 kB / 0.5412 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.4745, allocations: 15.77 kB / 0.5412 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.4745, allocations: 4.531 kB / 0.5412 GB, free: 6.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001009/0.4755, allocations: 0.7843 MB / 0.542 GB, free: 5.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4756, allocations: 1.062 kB / 0.542 GB, free: 5.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.4759, allocations: 44.97 kB / 0.5421 GB, free: 5.645 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001046/0.4769, allocations: 399 kB / 0.5424 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.4772, allocations: 82.7 kB / 0.5425 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4772, allocations: 0 / 0.5425 GB, free: 5.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.4773, allocations: 39.61 kB / 0.5426 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.4779, allocations: 96.03 kB / 0.5426 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.4792, allocations: 0.8785 MB / 0.5435 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.4797, allocations: 0.8466 MB / 0.5443 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.4799, allocations: 54.94 kB / 0.5444 GB, free: 3.762 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.4799, allocations: 27.44 kB / 0.5444 GB, free: 3.738 MB / 398.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4799, allocations: 4 kB / 0.5444 GB, free: 3.734 MB / 398.1 MB Notification: Performance of Templates: time 0.009106/0.4891, allocations: 3.796 MB / 0.5481 GB, free: 15.95 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches