Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.002007/0.002007, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002476/0.002476, allocations: 216 kB / 23.73 MB, free: 4.164 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.583/1.583, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.2556/0.2556, allocations: 46.94 MB / 360.8 MB, free: 3.938 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 83.88 kB / 0.4967 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.4269, allocations: 66.08 MB / 0.5613 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003719/0.4306, allocations: 1.876 MB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.4328, allocations: 1.073 MB / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.4329, allocations: 4 kB / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005109/0.4335, allocations: 251.3 kB / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004655/0.4339, allocations: 239.2 kB / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.4342, allocations: 119.6 kB / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.4345, allocations: 279.2 kB / 0.565 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.4346, allocations: 17.97 kB / 0.565 GB, free: 68 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.4348, allocations: 135.4 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.4351, allocations: 207.4 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.4351, allocations: 8 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4352, allocations: 59.98 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.4353, allocations: 71.69 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.94e-05/0.4354, allocations: 67.42 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.4358, allocations: 269.1 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.4358, allocations: 4 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4358, allocations: 0 / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.4358, allocations: 3.984 kB / 0.5658 GB, free: 15.26 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.000912/0.4367, allocations: 0.5196 MB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4367, allocations: 8.031 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.4368, allocations: 28.75 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.4373, allocations: 232.8 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4373, allocations: 4.375 kB / 0.5666 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.4373, allocations: 12.38 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.4376, allocations: 115.7 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4376, allocations: 0 / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.4377, allocations: 7.922 kB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4377, allocations: 0 / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.4378, allocations: 59.88 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.4385, allocations: 416.4 kB / 0.5671 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.4389, allocations: 121.2 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.439, allocations: 45.83 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.439, allocations: 7.984 kB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003526/0.4394, allocations: 129.1 kB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.4394, allocations: 0 / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001444/0.4408, allocations: 0.5125 MB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.4409, allocations: 96.97 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000555/0.4414, allocations: 0.4976 MB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.4415, allocations: 33.7 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.4416, allocations: 172.5 kB / 0.5687 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-05/0.4417, allocations: 67.42 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.4417, allocations: 49.7 kB / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4419, allocations: 342.8 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.442, allocations: 63.91 kB / 0.5692 GB, free: 11.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.4422, allocations: 100.6 kB / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.4425, allocations: 163.3 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4425, allocations: 4 kB / 0.5695 GB, free: 11.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004405/0.4429, allocations: 245.5 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4429, allocations: 8 kB / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4429, allocations: 0 / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.443, allocations: 0 / 0.5697 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4431, allocations: 47.86 kB / 0.5697 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4431, allocations: 0 / 0.5697 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/0.4432, allocations: 20.05 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.4432, allocations: 8 kB / 0.5698 GB, free: 10.94 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.0001939/0.4434, allocations: 170.2 kB / 0.5699 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.4435, allocations: 39.7 kB / 0.57 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005903/0.4441, allocations: 285.3 kB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.4441, allocations: 7.938 kB / 0.5703 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4441, allocations: 0 / 0.5703 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4441, allocations: 3.984 kB / 0.5703 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.4452, allocations: 0.6878 MB / 0.5709 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4452, allocations: 4 kB / 0.5709 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.4453, allocations: 35.92 kB / 0.571 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.4453, allocations: 4 kB / 0.571 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.4453, allocations: 7.984 kB / 0.571 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4453, allocations: 0 / 0.571 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.4453, allocations: 4 kB / 0.571 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.4459, allocations: 449.8 kB / 0.5714 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.4459, allocations: 32 kB / 0.5714 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.446, allocations: 8 kB / 0.5715 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.4461, allocations: 15.92 kB / 0.5715 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.4462, allocations: 27.84 kB / 0.5715 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.4462, allocations: 8 kB / 0.5715 GB, free: 9.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004519/0.4467, allocations: 383.1 kB / 0.5719 GB, free: 8.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4467, allocations: 0 / 0.5719 GB, free: 8.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003626/0.447, allocations: 51.94 kB / 0.5719 GB, free: 8.648 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.00212/0.4491, allocations: 0.5412 MB / 0.5724 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.4495, allocations: 151.8 kB / 0.5726 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4495, allocations: 0 / 0.5726 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.4497, allocations: 83.83 kB / 0.5727 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.4503, allocations: 74.12 kB / 0.5727 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4513, allocations: 0.602 MB / 0.5733 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.4516, allocations: 186.4 kB / 0.5735 GB, free: 7.152 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.4517, allocations: 41.91 kB / 0.5735 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.4517, allocations: 27.44 kB / 0.5736 GB, free: 7.086 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4517, allocations: 0 / 0.5736 GB, free: 7.086 MB / 414.1 MB Notification: Performance of Templates: time 0.007828/0.4596, allocations: 3.584 MB / 0.5771 GB, free: 3.547 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.436052625998855]