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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002135/0.002135, allocations: 215.5 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.2 MB / 256.7 MB, free: 8.633 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.9 MB / 359.9 MB, free: 4.98 MB / 286.1 MB [Timeout remaining time 90] 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.002534/0.002534, allocations: 75.88 kB / 0.495 GB, free: 8.621 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3343, allocations: 65.99 MB / 0.5595 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003239/0.3375, allocations: 1.834 MB / 0.5613 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.3402, allocations: 1.746 MB / 0.563 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.723e-05/0.3403, allocations: 7.938 kB / 0.563 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.3406, allocations: 51.69 kB / 0.563 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.341, allocations: 139.4 kB / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.3412, allocations: 103.6 kB / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002732/0.3415, allocations: 211.4 kB / 0.5635 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.3415, allocations: 5.688 kB / 0.5635 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.3417, allocations: 91.61 kB / 0.5636 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.3419, allocations: 83.55 kB / 0.5636 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.3419, allocations: 11.94 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.3421, allocations: 115.9 kB / 0.5638 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.3422, allocations: 39.77 kB / 0.5638 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.798e-05/0.3423, allocations: 63.61 kB / 0.5639 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.3426, allocations: 225.5 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3426, allocations: 0 / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3426, allocations: 4 kB / 0.5641 GB, free: 432 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3427, allocations: 0 / 0.5641 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.0007382/0.3434, allocations: 0.498 MB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3434, allocations: 8.031 kB / 0.5646 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.3435, allocations: 16.84 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.3439, allocations: 261.1 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3439, allocations: 384 / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3439, allocations: 8.125 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.3441, allocations: 105 kB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3441, allocations: 0 / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3442, allocations: 4 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3442, allocations: 3.938 kB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3443, allocations: 31.97 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.3445, allocations: 226.5 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3448, allocations: 101.2 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.3449, allocations: 41.64 kB / 0.5653 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3449, allocations: 4 kB / 0.5653 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.3452, allocations: 105 kB / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3452, allocations: 0 / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004492/0.3456, allocations: 173.4 kB / 0.5656 GB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.486e-05/0.3457, allocations: 136.5 kB / 0.5657 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.346, allocations: 240.9 kB / 0.566 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.346, allocations: 29.7 kB / 0.566 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.3461, allocations: 116.1 kB / 0.5661 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.3461, allocations: 27.8 kB / 0.5661 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.3462, allocations: 29.72 kB / 0.5662 GB, free: 14.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3463, allocations: 330.8 kB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.3464, allocations: 24.48 kB / 0.5665 GB, free: 13.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.3466, allocations: 81.08 kB / 0.5666 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.3467, allocations: 91.41 kB / 0.5667 GB, free: 13.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3467, allocations: 3.938 kB / 0.5667 GB, free: 13.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002804/0.347, allocations: 141.4 kB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.347, allocations: 4 kB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.347, allocations: 0 / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.347, allocations: 4 kB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3472, allocations: 23.98 kB / 0.5668 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3472, allocations: 4 kB / 0.5668 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.751e-05/0.3473, allocations: 19.81 kB / 0.5669 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3473, allocations: 4 kB / 0.5669 GB, free: 13.27 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.0001272/0.3474, allocations: 133.8 kB / 0.567 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.3474, allocations: 15.91 kB / 0.567 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.3478, allocations: 150.6 kB / 0.5671 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3478, allocations: 0 / 0.5671 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3478, allocations: 4.234 kB / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3478, allocations: 0 / 0.5672 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.348, allocations: 237.5 kB / 0.5674 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.348, allocations: 0 / 0.5674 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.348, allocations: 19.92 kB / 0.5674 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.348, allocations: 0 / 0.5674 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3481, allocations: 4 kB / 0.5674 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3481, allocations: 0 / 0.5674 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3481, allocations: 0 / 0.5674 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.3484, allocations: 169.7 kB / 0.5676 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.3484, allocations: 100.9 kB / 0.5677 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.3485, allocations: 4 kB / 0.5677 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.3486, allocations: 11.98 kB / 0.5677 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.3486, allocations: 7.938 kB / 0.5677 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.3486, allocations: 7.984 kB / 0.5677 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.3488, allocations: 181.6 kB / 0.5679 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3488, allocations: 0 / 0.5679 GB, free: 12.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.3491, allocations: 51.92 kB / 0.5679 GB, free: 12.08 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.001721/0.3508, allocations: 0.4939 MB / 0.5684 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3511, allocations: 83.89 kB / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3511, allocations: 0 / 0.5685 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3512, allocations: 35.92 kB / 0.5685 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.3516, allocations: 64.25 kB / 0.5686 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.3521, allocations: 305.3 kB / 0.5689 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3525, allocations: 0.7243 MB / 0.5696 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.3526, allocations: 31.41 kB / 0.5696 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3526, allocations: 0 / 0.5696 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Templates: time 0.00572/0.3583, allocations: 3.184 MB / 0.5727 GB, free: 7.285 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/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