Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001449/0.001449, 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.001866/0.001866, allocations: 213 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.529/1.529, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2604/0.2604, allocations: 46.95 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 79.88 kB / 0.4967 GB, free: 6.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4333, allocations: 66.09 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003833/0.4372, allocations: 1.714 MB / 0.5629 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002833/0.44, allocations: 1.656 MB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.4401, allocations: 0 / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.4404, allocations: 43.77 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.4408, allocations: 99.53 kB / 0.5647 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.441, allocations: 79.67 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.4411, allocations: 107.7 kB / 0.5648 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.4413, allocations: 4 kB / 0.5649 GB, free: 240 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.479e-05/0.4413, allocations: 51.77 kB / 0.5649 GB, free: 188 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.4415, allocations: 47.7 kB / 0.5649 GB, free: 140 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.4415, allocations: 4 kB / 0.565 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.4417, allocations: 108 kB / 0.5651 GB, free: 28 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.4418, allocations: 19.91 kB / 0.5651 GB, free: 8 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.4419, allocations: 31.88 kB / 0.5651 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.4422, allocations: 169.7 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4422, allocations: 0 / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4422, allocations: 0 / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.4422, allocations: 0 / 0.5653 GB, free: 15.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006435/0.4428, allocations: 349.5 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4429, allocations: 12.03 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.047e-05/0.4429, allocations: 12.84 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.4433, allocations: 154.9 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4433, allocations: 4.312 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.4433, allocations: 4.125 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.4435, allocations: 97.08 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.4435, allocations: 4 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.4436, allocations: 4 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4436, allocations: 0 / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.4436, allocations: 19.98 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.444, allocations: 228.5 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.4442, allocations: 62.61 kB / 0.5662 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.4443, allocations: 20.84 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.4443, allocations: 3.938 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.4445, allocations: 67.39 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4445, allocations: 0 / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005951/0.4451, allocations: 185.3 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.4451, allocations: 77.11 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.4453, allocations: 166.5 kB / 0.5667 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.4453, allocations: 29.7 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.4454, allocations: 104.1 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.4455, allocations: 39.66 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.447e-05/0.4455, allocations: 21.72 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.4457, allocations: 322.8 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.4458, allocations: 23.98 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.586e-05/0.4459, allocations: 72.25 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.446, allocations: 62.08 kB / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.446, allocations: 0 / 0.5673 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002087/0.4462, allocations: 109.7 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4462, allocations: 4 kB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4462, allocations: 4 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.4462, allocations: 4 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.4463, allocations: 19.92 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4463, allocations: 0 / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.4464, allocations: 4 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.4464, allocations: 0 / 0.5675 GB, free: 13.36 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 (10): * Single equations (assignments): 10 * 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.0001219/0.4465, allocations: 133.6 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.4466, allocations: 7.953 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.4468, allocations: 122.3 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4468, allocations: 4 kB / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4468, allocations: 0 / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4468, allocations: 0 / 0.5677 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.4473, allocations: 350.9 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4473, allocations: 288 / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.4474, allocations: 11.98 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4474, allocations: 0 / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.4474, allocations: 11.94 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4474, allocations: 4.031 kB / 0.5681 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4474, allocations: 3.938 kB / 0.5681 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.4477, allocations: 212.3 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.4477, allocations: 15.89 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.4477, allocations: 4 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.4478, allocations: 7.938 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.4478, allocations: 11.92 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4478, allocations: 7.938 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.448, allocations: 131.9 kB / 0.5685 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.448, allocations: 0 / 0.5685 GB, free: 12.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.4483, allocations: 51.86 kB / 0.5685 GB, free: 12.21 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: 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 (9): * Single equations (assignments): 7 * 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.002148/0.4504, allocations: 0.5668 MB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.4507, allocations: 63.89 kB / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4507, allocations: 0 / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.4508, allocations: 36.05 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.4511, allocations: 23.92 kB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000496/0.4516, allocations: 214.6 kB / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.722e-05/0.4517, allocations: 89.31 kB / 0.5695 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.358e-05/0.4518, allocations: 21.33 kB / 0.5695 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.4518, allocations: 23.42 kB / 0.5695 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4518, allocations: 0 / 0.5695 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.006477/0.4583, allocations: 2.525 MB / 0.572 GB, free: 8.824 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.391989815980196]