Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 80.09 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4357, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003333/0.4391, allocations: 1.927 MB / 0.533 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.441, allocations: 1.122 MB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.4411, allocations: 6.281 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.4416, allocations: 159.5 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.442, allocations: 181 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.4423, allocations: 112 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.4427, allocations: 251.5 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.4428, allocations: 28.8 kB / 0.5348 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.443, allocations: 110.3 kB / 0.5349 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.4432, allocations: 136.2 kB / 0.535 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.4432, allocations: 8.062 kB / 0.535 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.4434, allocations: 66.25 kB / 0.5351 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.772e-05/0.4435, allocations: 55.08 kB / 0.5351 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.4436, allocations: 81.17 kB / 0.5352 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.444, allocations: 227.5 kB / 0.5354 GB, free: 10.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.444, allocations: 5.156 kB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.444, allocations: 0 / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.444, allocations: 0 / 0.5354 GB, free: 10.38 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007677/0.4448, allocations: 0.5333 MB / 0.5359 GB, free: 9.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4448, allocations: 9.594 kB / 0.536 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.4449, allocations: 24.53 kB / 0.536 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.4453, allocations: 291.4 kB / 0.5363 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.4453, allocations: 7.969 kB / 0.5363 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.4454, allocations: 16.48 kB / 0.5363 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.4457, allocations: 106.1 kB / 0.5364 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4457, allocations: 0 / 0.5364 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.4457, allocations: 4.984 kB / 0.5364 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4457, allocations: 2.219 kB / 0.5364 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.4459, allocations: 48.59 kB / 0.5364 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.4465, allocations: 466.6 kB / 0.5369 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.4469, allocations: 121.9 kB / 0.537 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.447, allocations: 49.55 kB / 0.537 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.447, allocations: 1.312 kB / 0.537 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.4473, allocations: 125 kB / 0.5372 GB, free: 8.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.4473, allocations: 0 / 0.5372 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001423/0.4487, allocations: 499 kB / 0.5376 GB, free: 8.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.4488, allocations: 87.52 kB / 0.5377 GB, free: 8.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.4492, allocations: 369.9 kB / 0.5381 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.4493, allocations: 32.05 kB / 0.5381 GB, free: 8.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4494, allocations: 148.1 kB / 0.5383 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.4495, allocations: 70.33 kB / 0.5383 GB, free: 7.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.4495, allocations: 40.89 kB / 0.5384 GB, free: 7.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4497, allocations: 347.5 kB / 0.5387 GB, free: 7.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.4499, allocations: 53.78 kB / 0.5387 GB, free: 7.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.45, allocations: 94.97 kB / 0.5388 GB, free: 7.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.4503, allocations: 164.9 kB / 0.539 GB, free: 7.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4503, allocations: 1.062 kB / 0.539 GB, free: 7.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004098/0.4507, allocations: 225.7 kB / 0.5392 GB, free: 7.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4508, allocations: 9.719 kB / 0.5392 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4508, allocations: 0 / 0.5392 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.4508, allocations: 6.5 kB / 0.5392 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.451, allocations: 55.09 kB / 0.5393 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.451, allocations: 1.312 kB / 0.5393 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.4511, allocations: 12.31 kB / 0.5393 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.4511, allocations: 7.125 kB / 0.5393 GB, free: 7.223 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.0001508/0.4512, allocations: 161.5 kB / 0.5394 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.4513, allocations: 33.91 kB / 0.5395 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.631e-05/0.4514, allocations: 36.67 kB / 0.5395 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4514, allocations: 1.375 kB / 0.5395 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4514, allocations: 1.812 kB / 0.5395 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4514, allocations: 0 / 0.5395 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.4524, allocations: 0.7264 MB / 0.5402 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4524, allocations: 1.375 kB / 0.5402 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.63e-05/0.4525, allocations: 27.17 kB / 0.5403 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4525, allocations: 6.875 kB / 0.5403 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.4525, allocations: 8.438 kB / 0.5403 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4525, allocations: 2.406 kB / 0.5403 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4525, allocations: 6.25 kB / 0.5403 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.4532, allocations: 429.2 kB / 0.5407 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.4533, allocations: 100.4 kB / 0.5408 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.4533, allocations: 8.688 kB / 0.5408 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.4534, allocations: 7.547 kB / 0.5408 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.582e-05/0.4535, allocations: 21.36 kB / 0.5408 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.4536, allocations: 12.89 kB / 0.5408 GB, free: 5.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003124/0.4539, allocations: 275.6 kB / 0.5411 GB, free: 5.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4539, allocations: 0 / 0.5411 GB, free: 5.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00038/0.4543, allocations: 48.28 kB / 0.5411 GB, free: 5.758 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.001337/0.4556, allocations: 0.5146 MB / 0.5416 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004301/0.4561, allocations: 158.3 kB / 0.5418 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4561, allocations: 1.125 kB / 0.5418 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.4563, allocations: 78.44 kB / 0.5419 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.4569, allocations: 67.42 kB / 0.5419 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.4578, allocations: 0.5008 MB / 0.5424 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4582, allocations: 0.7632 MB / 0.5432 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.4583, allocations: 41.36 kB / 0.5432 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.076e-05/0.4584, allocations: 26 kB / 0.5432 GB, free: 4.242 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4584, allocations: 3.938 kB / 0.5432 GB, free: 4.238 MB / 398.1 MB Notification: Performance of Templates: time 0.007477/0.4659, allocations: 3.208 MB / 0.5464 GB, free: 1.773 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches