Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 44.94 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 63.91 kB / 0.4943 GB, free: 9.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3163, allocations: 65.47 MB / 0.5582 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00334/0.3197, allocations: 1.791 MB / 0.56 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.3224, allocations: 1.73 MB / 0.5617 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.3225, allocations: 7.938 kB / 0.5617 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.3228, allocations: 55.67 kB / 0.5617 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.3232, allocations: 135.4 kB / 0.5619 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.3235, allocations: 107.6 kB / 0.562 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.3238, allocations: 207.3 kB / 0.5622 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.685e-05/0.3238, allocations: 17.8 kB / 0.5622 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3239, allocations: 83.62 kB / 0.5623 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.3241, allocations: 75.56 kB / 0.5623 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.3242, allocations: 8 kB / 0.5623 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.3244, allocations: 111.9 kB / 0.5625 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.3245, allocations: 39.83 kB / 0.5625 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.3245, allocations: 47.67 kB / 0.5625 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.3249, allocations: 233.4 kB / 0.5628 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3249, allocations: 0 / 0.5628 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3249, allocations: 4 kB / 0.5628 GB, free: 2.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3249, allocations: 0 / 0.5628 GB, free: 2.789 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007163/0.3256, allocations: 432.9 kB / 0.5632 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3256, allocations: 8.031 kB / 0.5632 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.3257, allocations: 16.84 kB / 0.5632 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.326, allocations: 186.2 kB / 0.5634 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3261, allocations: 8.359 kB / 0.5634 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3261, allocations: 12.06 kB / 0.5634 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.3263, allocations: 148.5 kB / 0.5635 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.3264, allocations: 4 kB / 0.5635 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3264, allocations: 0 / 0.5635 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3264, allocations: 4 kB / 0.5635 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3265, allocations: 35.91 kB / 0.5636 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.3267, allocations: 162.2 kB / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.327, allocations: 101.2 kB / 0.5638 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3271, allocations: 41.64 kB / 0.5639 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3271, allocations: 8 kB / 0.5639 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.3273, allocations: 116.9 kB / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3273, allocations: 0 / 0.564 GB, free: 1.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004704/0.3278, allocations: 181.4 kB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.3279, allocations: 128.5 kB / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.3282, allocations: 244.1 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3282, allocations: 29.7 kB / 0.5645 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.3283, allocations: 124 kB / 0.5647 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.3284, allocations: 35.8 kB / 0.5647 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.3284, allocations: 25.72 kB / 0.5647 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3286, allocations: 330.8 kB / 0.565 GB, free: 228 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.3287, allocations: 27.98 kB / 0.5651 GB, free: 200 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.3288, allocations: 128.5 kB / 0.5652 GB, free: 40 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.329, allocations: 103.8 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.329, allocations: 0 / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003015/0.3293, allocations: 141.5 kB / 0.5654 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3294, allocations: 10.64 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3294, allocations: 0 / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3294, allocations: 4 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3295, allocations: 19.94 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3295, allocations: 7.984 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.3296, allocations: 15.89 kB / 0.5655 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3296, allocations: 4 kB / 0.5655 GB, free: 15.72 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.0001328/0.3297, allocations: 134.3 kB / 0.5656 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.3298, allocations: 23.91 kB / 0.5656 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.3301, allocations: 166.6 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3301, allocations: 0 / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3301, allocations: 4 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3301, allocations: 0 / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.3303, allocations: 169.1 kB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3303, allocations: 0 / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.3304, allocations: 11.94 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3304, allocations: 3.938 kB / 0.566 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3304, allocations: 8.234 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3304, allocations: 4 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3304, allocations: 4 kB / 0.566 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.3308, allocations: 181.8 kB / 0.5662 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.3308, allocations: 27.78 kB / 0.5662 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.3308, allocations: 4 kB / 0.5662 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.3309, allocations: 7.984 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.331, allocations: 11.98 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.331, allocations: 15.88 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.3312, allocations: 177.8 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3312, allocations: 4 kB / 0.5664 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.3315, allocations: 59.86 kB / 0.5665 GB, free: 14.65 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 (12): * Single equations (assignments): 8 * 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.001877/0.3334, allocations: 0.5215 MB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.3336, allocations: 83.89 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3336, allocations: 0 / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3337, allocations: 43.92 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.3341, allocations: 59.5 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.3347, allocations: 317.5 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.3348, allocations: 107.4 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.3349, allocations: 31.42 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3349, allocations: 0 / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Templates: time 0.005679/0.3406, allocations: 3.242 MB / 0.5707 GB, free: 10.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.19429413927719]