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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, allocations: 206.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2609/0.2609, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002513, allocations: 83.81 kB / 0.4967 GB, free: 6.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4439, allocations: 66.09 MB / 0.5613 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003736/0.4477, allocations: 1.86 MB / 0.5631 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.4498, allocations: 1.084 MB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.4499, allocations: 4 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.4504, allocations: 155.5 kB / 0.5643 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.4509, allocations: 187.3 kB / 0.5645 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.4512, allocations: 115.6 kB / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.4516, allocations: 247.3 kB / 0.5648 GB, free: 308 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.4517, allocations: 17.95 kB / 0.5648 GB, free: 288 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.4519, allocations: 119.5 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.4521, allocations: 135.5 kB / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.4521, allocations: 15.98 kB / 0.5651 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.4523, allocations: 63.97 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.71e-05/0.4524, allocations: 55.72 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.4525, allocations: 63.53 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.4529, allocations: 237.3 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.4529, allocations: 0 / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4529, allocations: 4 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4529, allocations: 0 / 0.5655 GB, free: 15.61 MB / 414.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.0008554/0.4537, allocations: 476.5 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4538, allocations: 8.031 kB / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.4539, allocations: 32.73 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.4543, allocations: 206.6 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.4544, allocations: 8.375 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.4544, allocations: 4.375 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.4547, allocations: 119.6 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4547, allocations: 4 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4547, allocations: 4 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4547, allocations: 4 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.4549, allocations: 51.94 kB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/0.4555, allocations: 404.4 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/0.4559, allocations: 125.2 kB / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.456, allocations: 45.77 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.456, allocations: 4 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/0.4563, allocations: 133.2 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.4563, allocations: 3.938 kB / 0.5671 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001357/0.4576, allocations: 0.4899 MB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.4577, allocations: 85.05 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.4582, allocations: 388.5 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.4582, allocations: 29.7 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.4583, allocations: 148.5 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.4584, allocations: 83.31 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.4585, allocations: 45.64 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4587, allocations: 338.8 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.4588, allocations: 59.97 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.459, allocations: 95.28 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.4593, allocations: 159.6 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4593, allocations: 11.94 kB / 0.5689 GB, free: 11.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004251/0.4597, allocations: 237.3 kB / 0.5691 GB, free: 11.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4597, allocations: 8 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4598, allocations: 0 / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4598, allocations: 0 / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.4599, allocations: 51.84 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.4599, allocations: 4 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.46, allocations: 8 kB / 0.5692 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.46, allocations: 8 kB / 0.5692 GB, free: 11.55 MB / 414.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.0001765/0.4602, allocations: 165.8 kB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.4603, allocations: 27.81 kB / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005778/0.4608, allocations: 275.5 kB / 0.5697 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4609, allocations: 7.938 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4609, allocations: 0 / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4609, allocations: 3.984 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.4619, allocations: 0.6761 MB / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.4619, allocations: 4 kB / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.462, allocations: 31.92 kB / 0.5704 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.462, allocations: 4 kB / 0.5704 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4621, allocations: 8 kB / 0.5704 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.4621, allocations: 4 kB / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4621, allocations: 0 / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005438/0.4626, allocations: 449.8 kB / 0.5708 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.4626, allocations: 23.84 kB / 0.5708 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.4627, allocations: 8.062 kB / 0.5708 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.4628, allocations: 12 kB / 0.5709 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.4629, allocations: 19.91 kB / 0.5709 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.4629, allocations: 19.98 kB / 0.5709 GB, free: 9.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003057/0.4632, allocations: 279 kB / 0.5712 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4632, allocations: 3.938 kB / 0.5712 GB, free: 9.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.4636, allocations: 55.88 kB / 0.5712 GB, free: 9.41 MB / 414.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 (24): * Single equations (assignments): 20 * 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.002173/0.4658, allocations: 0.5305 MB / 0.5717 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003943/0.4662, allocations: 163.8 kB / 0.5719 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4662, allocations: 0 / 0.5719 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4663, allocations: 80.03 kB / 0.572 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.4669, allocations: 67.5 kB / 0.572 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.4679, allocations: 0.5081 MB / 0.5725 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.4681, allocations: 161.8 kB / 0.5727 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.4682, allocations: 41.92 kB / 0.5727 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.4683, allocations: 31.42 kB / 0.5727 GB, free: 7.965 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4683, allocations: 0 / 0.5727 GB, free: 7.965 MB / 414.1 MB Notification: Performance of Templates: time 0.008225/0.4765, allocations: 3.498 MB / 0.5762 GB, free: 4.512 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.546510551124811]