Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.001471/0.001471, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.00158/0.00158, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.584/1.584, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2832/0.2832, allocations: 46.89 MB / 361.1 MB, free: 4.648 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 87.86 kB / 0.4968 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4397, allocations: 65.98 MB / 0.5613 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.0042/0.4439, allocations: 1.996 MB / 0.5632 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.4461, allocations: 1.213 MB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.4463, allocations: 11.94 kB / 0.5644 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008671/0.4471, allocations: 195.4 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005552/0.4477, allocations: 207.2 kB / 0.5648 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.4482, allocations: 155.6 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.4485, allocations: 267.2 kB / 0.5652 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.4486, allocations: 16.31 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.4488, allocations: 111.5 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.449, allocations: 119.5 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.449, allocations: 12 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.4492, allocations: 67.89 kB / 0.5655 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.013e-05/0.4492, allocations: 51.77 kB / 0.5656 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.4494, allocations: 91.41 kB / 0.5656 GB, free: 500 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.4497, allocations: 245.7 kB / 0.5659 GB, free: 256 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4497, allocations: 0 / 0.5659 GB, free: 256 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4497, allocations: 0 / 0.5659 GB, free: 256 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.4497, allocations: 3.984 kB / 0.5659 GB, free: 252 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009314/0.4507, allocations: 0.562 MB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.4507, allocations: 12.03 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.4508, allocations: 24.78 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.4512, allocations: 299.7 kB / 0.5668 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.4513, allocations: 4.375 kB / 0.5668 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.4513, allocations: 8.359 kB / 0.5668 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.4516, allocations: 112.4 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4516, allocations: 0 / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.4516, allocations: 0 / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.4516, allocations: 4 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.4518, allocations: 47.89 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.4524, allocations: 377.5 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.4527, allocations: 113.2 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.4528, allocations: 45.69 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.4528, allocations: 8 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.4531, allocations: 109 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.4531, allocations: 0 / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000483/0.4536, allocations: 185.4 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.4536, allocations: 102.8 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.4541, allocations: 355.3 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.4541, allocations: 33.7 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.4543, allocations: 136.1 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.4544, allocations: 39.8 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.4544, allocations: 33.7 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.4546, allocations: 338.8 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.4547, allocations: 35.98 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.4549, allocations: 76.08 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.4551, allocations: 99.89 kB / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4551, allocations: 0 / 0.5689 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003196/0.4554, allocations: 149.4 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4554, allocations: 8 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4554, allocations: 3.938 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4554, allocations: 0 / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.4556, allocations: 27.98 kB / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4556, allocations: 64 / 0.5691 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.4556, allocations: 15.95 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.4557, allocations: 7.938 kB / 0.5691 GB, free: 12.63 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001716/0.4558, allocations: 161.6 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.4559, allocations: 27.81 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.4563, allocations: 155.4 kB / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4563, allocations: 4 kB / 0.5695 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4563, allocations: 3.984 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4563, allocations: 4 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.4566, allocations: 249.8 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4566, allocations: 4 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.4567, allocations: 15.98 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4567, allocations: 0 / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4567, allocations: 0 / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4567, allocations: 4 kB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4567, allocations: 0 / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.4571, allocations: 193.6 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.188e-05/0.4572, allocations: 96.97 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.4572, allocations: 8 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.4573, allocations: 7.984 kB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.4573, allocations: 11.98 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4573, allocations: 4 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003/0.4576, allocations: 261.9 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4576, allocations: 4 kB / 0.5703 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.4579, allocations: 35.94 kB / 0.5703 GB, free: 11.29 MB / 414.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001577/0.4595, allocations: 418.8 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003221/0.4598, allocations: 87.78 kB / 0.5708 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4598, allocations: 0 / 0.5708 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4599, allocations: 43.97 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.4604, allocations: 81.73 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/0.4613, allocations: 412.2 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.4618, allocations: 0.744 MB / 0.572 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.4619, allocations: 41.86 kB / 0.5721 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.4619, allocations: 23.44 kB / 0.5721 GB, free: 9.559 MB / 414.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4619, allocations: 0 / 0.5721 GB, free: 9.559 MB / 414.1 MB Notification: Performance of Templates: time 0.007963/0.4699, allocations: 3.067 MB / 0.5751 GB, free: 6.504 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.557360931765288]