Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001401/0.001401, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.001817/0.001817, allocations: 212 kB / 23 MB, free: 5.609 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.554/1.554, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.2671/0.2671, allocations: 46.91 MB / 359.4 MB, free: 4.859 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 75.88 kB / 0.4947 GB, free: 8.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4274, allocations: 66 MB / 0.5592 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003537/0.4309, allocations: 1.832 MB / 0.5609 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.434, allocations: 1.781 MB / 0.5627 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.4341, allocations: 7.938 kB / 0.5627 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.4345, allocations: 51.69 kB / 0.5627 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.4349, allocations: 135.4 kB / 0.5629 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.4352, allocations: 107.6 kB / 0.563 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.4355, allocations: 207.3 kB / 0.5632 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.4355, allocations: 9.688 kB / 0.5632 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.4357, allocations: 83.62 kB / 0.5633 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.4359, allocations: 87.59 kB / 0.5633 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.436, allocations: 8 kB / 0.5633 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.4362, allocations: 119.9 kB / 0.5635 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.4363, allocations: 35.78 kB / 0.5635 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.395e-05/0.4363, allocations: 67.59 kB / 0.5636 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.4367, allocations: 225.7 kB / 0.5638 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4367, allocations: 4 kB / 0.5638 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4367, allocations: 0 / 0.5638 GB, free: 432 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.4368, allocations: 0 / 0.5638 GB, free: 432 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008621/0.4376, allocations: 0.5046 MB / 0.5643 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4377, allocations: 8.031 kB / 0.5643 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.4377, allocations: 16.84 kB / 0.5643 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.4383, allocations: 252 kB / 0.5645 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4383, allocations: 4.375 kB / 0.5645 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.4383, allocations: 8.312 kB / 0.5645 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.4386, allocations: 105.3 kB / 0.5646 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.4386, allocations: 0 / 0.5646 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4386, allocations: 4 kB / 0.5647 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4386, allocations: 0 / 0.5647 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.4387, allocations: 35.91 kB / 0.5647 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.4391, allocations: 218.5 kB / 0.5649 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.4394, allocations: 97.23 kB / 0.565 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-05/0.4395, allocations: 41.64 kB / 0.565 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.4395, allocations: 0 / 0.565 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.4398, allocations: 109 kB / 0.5651 GB, free: 14.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4398, allocations: 0 / 0.5651 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000474/0.4402, allocations: 177.4 kB / 0.5653 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.4404, allocations: 132.5 kB / 0.5654 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.4407, allocations: 241 kB / 0.5657 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.4407, allocations: 29.7 kB / 0.5657 GB, free: 14.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.4408, allocations: 120.1 kB / 0.5658 GB, free: 14.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.4408, allocations: 31.73 kB / 0.5658 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.4409, allocations: 29.7 kB / 0.5659 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4411, allocations: 334.8 kB / 0.5662 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.4412, allocations: 23.98 kB / 0.5662 GB, free: 13.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4413, allocations: 77.14 kB / 0.5663 GB, free: 13.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.4415, allocations: 87.34 kB / 0.5664 GB, free: 13.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4415, allocations: 4 kB / 0.5664 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002943/0.4418, allocations: 137.5 kB / 0.5665 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.4418, allocations: 4 kB / 0.5665 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4418, allocations: 0 / 0.5665 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.4418, allocations: 7.938 kB / 0.5665 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4419, allocations: 28.55 kB / 0.5665 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.4419, allocations: 0 / 0.5665 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.241e-05/0.442, allocations: 15.89 kB / 0.5665 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.442, allocations: 4 kB / 0.5665 GB, free: 13.28 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.4422, allocations: 137.8 kB / 0.5667 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.4422, allocations: 23.84 kB / 0.5667 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.4426, allocations: 154.5 kB / 0.5668 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.4426, allocations: 0 / 0.5668 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4426, allocations: 0 / 0.5668 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.4426, allocations: 3.938 kB / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.4429, allocations: 225.5 kB / 0.5671 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4429, allocations: 0 / 0.5671 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.4429, allocations: 19.86 kB / 0.5671 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4429, allocations: 0 / 0.5671 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.4429, allocations: 4 kB / 0.5671 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4429, allocations: 4 kB / 0.5671 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4429, allocations: 0 / 0.5671 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.4433, allocations: 165.8 kB / 0.5673 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.783e-05/0.4433, allocations: 96.94 kB / 0.5673 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.4434, allocations: 4 kB / 0.5673 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.4434, allocations: 12 kB / 0.5674 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.4435, allocations: 7.984 kB / 0.5674 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.4435, allocations: 4 kB / 0.5674 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.4437, allocations: 185.6 kB / 0.5675 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4437, allocations: 0 / 0.5675 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.444, allocations: 51.88 kB / 0.5676 GB, free: 12.09 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (10): * Single equations (assignments): 6 * 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.00192/0.446, allocations: 0.4897 MB / 0.5681 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.4463, allocations: 91.89 kB / 0.5682 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4463, allocations: 0 / 0.5682 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.4464, allocations: 31.98 kB / 0.5682 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.4468, allocations: 62.17 kB / 0.5683 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007055/0.4475, allocations: 295.5 kB / 0.5685 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.4479, allocations: 0.7243 MB / 0.5692 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.566e-05/0.448, allocations: 29.52 kB / 0.5693 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.448, allocations: 31.42 kB / 0.5693 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.448, allocations: 0 / 0.5693 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Templates: time 0.007785/0.4558, allocations: 3.16 MB / 0.5724 GB, free: 7.316 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.541059366427362]