Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001946/0.001946, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.0022/0.0022, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.56/1.56, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.2666/0.2666, allocations: 46.96 MB / 361.6 MB, free: 3.949 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 87.86 kB / 0.4974 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3603, allocations: 66.09 MB / 0.562 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00356/0.3639, allocations: 1.706 MB / 0.5636 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3657, allocations: 0.9748 MB / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.3658, allocations: 0 / 0.5646 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.3661, allocations: 39.77 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.3665, allocations: 95.59 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.3667, allocations: 75.67 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.3669, allocations: 111.6 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.367, allocations: 7.984 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.3671, allocations: 47.8 kB / 0.565 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.3672, allocations: 35.78 kB / 0.565 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3672, allocations: 4 kB / 0.565 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3673, allocations: 39.98 kB / 0.565 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.34e-05/0.3673, allocations: 19.91 kB / 0.5651 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.3674, allocations: 27.8 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.3677, allocations: 129.8 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3677, allocations: 0 / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3677, allocations: 0 / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3677, allocations: 0 / 0.5652 GB, free: 0.6836 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005811/0.3682, allocations: 337.6 kB / 0.5655 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3683, allocations: 12.03 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.3683, allocations: 12.84 kB / 0.5655 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3686, allocations: 151.7 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3686, allocations: 4.359 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3687, allocations: 4.375 kB / 0.5657 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.3688, allocations: 61.92 kB / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3688, allocations: 0 / 0.5658 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3688, allocations: 4 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3689, allocations: 3.938 kB / 0.5658 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.475e-05/0.3689, allocations: 23.98 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.3693, allocations: 224.6 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.3695, allocations: 66.55 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.024e-05/0.3696, allocations: 20.84 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3696, allocations: 0 / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.3698, allocations: 67.39 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3698, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005804/0.3703, allocations: 181.3 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3704, allocations: 55.41 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3706, allocations: 191.2 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3706, allocations: 25.7 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.3707, allocations: 108.1 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.3707, allocations: 19.86 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.3708, allocations: 25.7 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.371, allocations: 334.7 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.554e-05/0.371, allocations: 19.98 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.3711, allocations: 37.64 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3712, allocations: 69.69 kB / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.3712, allocations: 0 / 0.5672 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.3714, allocations: 105.5 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3715, allocations: 4 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3715, allocations: 4.375 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3715, allocations: 0 / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3716, allocations: 15.98 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3716, allocations: 4 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.3716, allocations: 4 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3717, allocations: 4 kB / 0.5673 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 (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.0001184/0.3718, allocations: 137.7 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.3718, allocations: 7.953 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.3721, allocations: 123.2 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3721, allocations: 4 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.3721, allocations: 3.938 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3721, allocations: 0 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.3726, allocations: 346.9 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3726, allocations: 3.938 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.3726, allocations: 11.94 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3726, allocations: 8.031 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3726, allocations: 3.984 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3726, allocations: 0 / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3726, allocations: 0 / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.3729, allocations: 220.5 kB / 0.5681 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.373, allocations: 8.047 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.373, allocations: 7.938 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.3731, allocations: 7.984 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.3731, allocations: 7.938 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3731, allocations: 7.984 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3732, allocations: 140.9 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3732, allocations: 0 / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3735, allocations: 23.98 kB / 0.5683 GB, free: 13.2 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.001892/0.3754, allocations: 491.3 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.3756, allocations: 63.84 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3756, allocations: 0 / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.3757, allocations: 31.92 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.376, allocations: 26.61 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.3766, allocations: 253 kB / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3767, allocations: 96.25 kB / 0.5693 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.3768, allocations: 19.44 kB / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3768, allocations: 0 / 0.5693 GB, free: 12.36 MB / 414.1 MB Notification: Performance of Templates: time 0.004372/0.3811, allocations: 1.963 MB / 0.5712 GB, free: 10.4 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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: 8.089678545016795]