Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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: 99.66 kB / 21.18 MB, free: 0.5273 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.002146/0.002146, allocations: 212.6 kB / 24.48 MB, free: 3.84 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.485/1.485, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2481/0.2481, allocations: 46.98 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 67.91 kB / 0.4974 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3407, allocations: 66.03 MB / 0.5619 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003312/0.344, allocations: 1.729 MB / 0.5636 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.3459, allocations: 0.9793 MB / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.3459, allocations: 0 / 0.5645 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3462, allocations: 51.75 kB / 0.5646 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003537/0.3466, allocations: 99.59 kB / 0.5647 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.3468, allocations: 79.66 kB / 0.5648 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.347, allocations: 131.6 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3471, allocations: 15.97 kB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.338e-05/0.3472, allocations: 51.77 kB / 0.5649 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.3473, allocations: 55.77 kB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.3474, allocations: 8 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.3475, allocations: 63.97 kB / 0.5651 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.3476, allocations: 27.92 kB / 0.5651 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.3476, allocations: 43.66 kB / 0.5651 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3479, allocations: 145.8 kB / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3479, allocations: 0 / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3479, allocations: 0 / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3479, allocations: 0 / 0.5653 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006181/0.3485, allocations: 373.4 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3485, allocations: 8.031 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.3486, allocations: 20.84 kB / 0.5657 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3489, allocations: 162.2 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3489, allocations: 384 / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3489, allocations: 12.12 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3491, allocations: 81.62 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3491, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3492, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3492, allocations: 3.938 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3493, allocations: 55.89 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.3497, allocations: 272.4 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.3501, allocations: 86.53 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.3501, allocations: 28.84 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.3501, allocations: 4 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.3503, allocations: 91.34 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3503, allocations: 0 / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008918/0.3512, allocations: 317.1 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.3513, allocations: 51.41 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.3515, allocations: 223.2 kB / 0.567 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3515, allocations: 29.7 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.3516, allocations: 104.4 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.942e-05/0.3517, allocations: 51.58 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.3517, allocations: 33.7 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3519, allocations: 322.8 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.733e-05/0.352, allocations: 39.98 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3521, allocations: 57.69 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.3523, allocations: 105.3 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3523, allocations: 7.984 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002844/0.3526, allocations: 153.6 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3526, allocations: 10.66 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3526, allocations: 0 / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3526, allocations: 0 / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3527, allocations: 27.92 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3527, allocations: 4 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.399e-05/0.3528, allocations: 11.92 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.3528, allocations: 4 kB / 0.5679 GB, free: 13.8 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 (15): * Single equations (assignments): 15 * 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.000123/0.3529, allocations: 134.7 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.3529, allocations: 15.84 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004074/0.3533, allocations: 201.9 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3533, allocations: 4 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3533, allocations: 0 / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3533, allocations: 7.938 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.354, allocations: 451.9 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.354, allocations: 0 / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.3541, allocations: 19.94 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3541, allocations: 15.94 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3541, allocations: 11.98 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3541, allocations: 0 / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3541, allocations: 0 / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.3544, allocations: 281 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.3545, allocations: 11.91 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.3545, allocations: 11.94 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.3546, allocations: 8 kB / 0.569 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3546, allocations: 11.97 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3547, allocations: 4 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.3548, allocations: 163.2 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3548, allocations: 0 / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.3551, allocations: 35.92 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002165/0.3573, allocations: 0.5537 MB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.3575, allocations: 103.9 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3575, allocations: 0 / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3577, allocations: 60.03 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3581, allocations: 35.97 kB / 0.57 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.3587, allocations: 322.2 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.3588, allocations: 102.2 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.3588, allocations: 23.44 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3588, allocations: 0 / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of Templates: time 0.004778/0.3636, allocations: 2.483 MB / 0.5728 GB, free: 8.883 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.146162412129343]