Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001741/0.001741, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.001833/0.001833, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.574/1.574, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.2336/0.2336, allocations: 44.91 MB / 359.6 MB, free: 6.289 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [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.002116/0.002116, allocations: 71.89 kB / 0.4944 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 65.47 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003353/0.3321, allocations: 1.939 MB / 0.5602 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.334, allocations: 1.155 MB / 0.5613 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/0.3341, allocations: 4 kB / 0.5613 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.3345, allocations: 223.3 kB / 0.5616 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.335, allocations: 215.2 kB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.3353, allocations: 123.5 kB / 0.5619 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.3356, allocations: 259.3 kB / 0.5621 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3357, allocations: 21.95 kB / 0.5622 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.3359, allocations: 127.5 kB / 0.5623 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.3361, allocations: 171.5 kB / 0.5624 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.3361, allocations: 8 kB / 0.5624 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.3362, allocations: 67.95 kB / 0.5625 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.819e-05/0.3363, allocations: 63.77 kB / 0.5626 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.3364, allocations: 91.23 kB / 0.5627 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.3368, allocations: 249.2 kB / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3368, allocations: 0 / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3368, allocations: 0 / 0.5629 GB, free: 3.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3368, allocations: 4 kB / 0.5629 GB, free: 3 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007258/0.3375, allocations: 0.4985 MB / 0.5634 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3375, allocations: 15.97 kB / 0.5634 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.3376, allocations: 28.75 kB / 0.5634 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.338, allocations: 230.5 kB / 0.5636 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.338, allocations: 8.375 kB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.338, allocations: 8.125 kB / 0.5637 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.3383, allocations: 122.2 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3383, allocations: 4 kB / 0.5638 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3383, allocations: 4 kB / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3383, allocations: 0 / 0.5638 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3384, allocations: 47.97 kB / 0.5638 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.339, allocations: 451.8 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.3394, allocations: 113.2 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3395, allocations: 45.77 kB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3395, allocations: 3.984 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.3398, allocations: 113.1 kB / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.3398, allocations: 0 / 0.5645 GB, free: 1.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00132/0.3411, allocations: 0.5087 MB / 0.565 GB, free: 0.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.3411, allocations: 89.03 kB / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/0.3416, allocations: 452.5 kB / 0.5655 GB, free: 108 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3417, allocations: 25.7 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.3418, allocations: 160.5 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.3419, allocations: 75.41 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.3419, allocations: 41.7 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3421, allocations: 342.8 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3422, allocations: 59.97 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.3424, allocations: 95.33 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.3427, allocations: 163.5 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3427, allocations: 0 / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000441/0.3431, allocations: 233.3 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3432, allocations: 18.58 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3432, allocations: 0 / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3432, allocations: 0 / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3433, allocations: 43.98 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3433, allocations: 7.938 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.257e-05/0.3434, allocations: 11.95 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.3434, allocations: 7.984 kB / 0.5668 GB, free: 14.79 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001895/0.3436, allocations: 174.4 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.3437, allocations: 35.75 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.3442, allocations: 269.2 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3442, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3442, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.3442, allocations: 4 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009912/0.3452, allocations: 0.7067 MB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3452, allocations: 0 / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.453e-05/0.3453, allocations: 31.92 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3453, allocations: 4 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3454, allocations: 8 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3454, allocations: 192 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3454, allocations: 4 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.3459, allocations: 431.8 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.3459, allocations: 31.77 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.346, allocations: 12 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.3461, allocations: 15.97 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.3462, allocations: 19.91 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.3462, allocations: 15.94 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003544/0.3465, allocations: 331 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3465, allocations: 0 / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003856/0.3469, allocations: 51.92 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.001968/0.3489, allocations: 0.5142 MB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.3493, allocations: 143.8 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3493, allocations: 3.938 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.3494, allocations: 75.84 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.35, allocations: 62.98 kB / 0.5696 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.351, allocations: 0.5917 MB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.3516, allocations: 0.7753 MB / 0.5709 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.3517, allocations: 35.42 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3517, allocations: 0 / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of Templates: time 0.006734/0.3584, allocations: 3.77 MB / 0.5747 GB, free: 6.742 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 8.356156242080033]