Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.002157/0.002157, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002524/0.002524, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.557/1.557, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2789/0.2789, allocations: 46.87 MB / 361.1 MB, free: 4.652 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76") [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.0026/0.0026, allocations: 87.86 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4386, allocations: 65.97 MB / 0.5613 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004529/0.4431, allocations: 1.772 MB / 0.563 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.4455, allocations: 1.06 MB / 0.5641 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.4456, allocations: 0 / 0.5641 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.446, allocations: 55.73 kB / 0.5641 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.4465, allocations: 95.59 kB / 0.5642 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.4468, allocations: 79.67 kB / 0.5643 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.4471, allocations: 131.7 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.4472, allocations: 11.92 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.4474, allocations: 55.77 kB / 0.5645 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.4475, allocations: 51.83 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.4475, allocations: 8 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.4477, allocations: 67.95 kB / 0.5646 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.676e-05/0.4478, allocations: 27.86 kB / 0.5646 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.4479, allocations: 43.73 kB / 0.5647 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.4483, allocations: 150 kB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4483, allocations: 0 / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4483, allocations: 0 / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.4483, allocations: 0 / 0.5648 GB, free: 1.375 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007965/0.4491, allocations: 442.5 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.4491, allocations: 12.03 kB / 0.5652 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.4492, allocations: 16.84 kB / 0.5652 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.4497, allocations: 232 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.4497, allocations: 12.3 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.4497, allocations: 4.375 kB / 0.5655 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.45, allocations: 73.97 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.45, allocations: 0 / 0.5656 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.45, allocations: 4 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.45, allocations: 0 / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.4501, allocations: 47.97 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.4507, allocations: 316.7 kB / 0.5659 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.451, allocations: 78.53 kB / 0.566 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.4511, allocations: 28.84 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.4511, allocations: 4 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.4513, allocations: 95.34 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.4513, allocations: 3.938 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001001/0.4523, allocations: 293.3 kB / 0.5664 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.4524, allocations: 63.41 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.4527, allocations: 194.1 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.4527, allocations: 25.7 kB / 0.5667 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.4528, allocations: 112.4 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.453, allocations: 43.64 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.453, allocations: 29.72 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.4532, allocations: 326.8 kB / 0.5671 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.4533, allocations: 43.97 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.4534, allocations: 45.7 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.4537, allocations: 105.6 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4537, allocations: 4 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000315/0.454, allocations: 153.2 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.454, allocations: 6.344 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.454, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.454, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4541, allocations: 31.92 kB / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4541, allocations: 0 / 0.5675 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.4542, allocations: 11.92 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4542, allocations: 8.875 kB / 0.5675 GB, free: 14.34 MB / 414.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 (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.0001451/0.4543, allocations: 133 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.4544, allocations: 19.89 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.4548, allocations: 175.1 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4548, allocations: 4 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4548, allocations: 0 / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4548, allocations: 3.938 kB / 0.5679 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007241/0.4555, allocations: 492 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4555, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.4556, allocations: 23.88 kB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.4556, allocations: 7.922 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.4556, allocations: 8 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4556, allocations: 0 / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4556, allocations: 4 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.456, allocations: 253.2 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.4561, allocations: 89 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.4561, allocations: 0 / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.456e-05/0.4562, allocations: 15.92 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.4563, allocations: 4 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.4563, allocations: 11.98 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.4564, allocations: 152.8 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4564, allocations: 0 / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.4568, allocations: 35.89 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002074/0.4588, allocations: 0.5005 MB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.4591, allocations: 95.16 kB / 0.5695 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4591, allocations: 0 / 0.5695 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.4592, allocations: 47.98 kB / 0.5695 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.4596, allocations: 42.81 kB / 0.5696 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007101/0.4603, allocations: 292.4 kB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.4608, allocations: 0.7084 MB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.229e-05/0.4609, allocations: 37.52 kB / 0.5706 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.461, allocations: 19.44 kB / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.461, allocations: 0 / 0.5706 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Templates: time 0.0067/0.4677, allocations: 2.207 MB / 0.5728 GB, free: 9.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.496489081997424]