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.001263/0.001263, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001386/0.001386, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2317/0.2317, allocations: 46.93 MB / 361.6 MB, free: 4.25 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.002269/0.002269, allocations: 67.89 kB / 0.4975 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3392, allocations: 66.02 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003471/0.3426, allocations: 1.783 MB / 0.5637 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3445, allocations: 1.045 MB / 0.5647 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.3446, allocations: 4 kB / 0.5647 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.3449, allocations: 55.69 kB / 0.5648 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.3453, allocations: 99.59 kB / 0.5649 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.3455, allocations: 83.66 kB / 0.5649 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3457, allocations: 127.7 kB / 0.5651 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3458, allocations: 11.97 kB / 0.5651 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3459, allocations: 59.72 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.346, allocations: 55.75 kB / 0.5652 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3461, allocations: 4 kB / 0.5652 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3462, allocations: 67.98 kB / 0.5652 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.3463, allocations: 31.89 kB / 0.5653 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.3463, allocations: 39.69 kB / 0.5653 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.3466, allocations: 153.7 kB / 0.5655 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3466, allocations: 4 kB / 0.5655 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3466, allocations: 0 / 0.5655 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3466, allocations: 0 / 0.5655 GB, free: 0.7812 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.0006738/0.3473, allocations: 365.4 kB / 0.5658 GB, free: 404 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3473, allocations: 8.031 kB / 0.5658 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.3474, allocations: 24.84 kB / 0.5658 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3477, allocations: 162.3 kB / 0.566 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3477, allocations: 4.312 kB / 0.566 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.3477, allocations: 12.12 kB / 0.566 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3479, allocations: 73.66 kB / 0.5661 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3479, allocations: 0 / 0.5661 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3479, allocations: 3.938 kB / 0.5661 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3479, allocations: 4 kB / 0.5661 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.348, allocations: 43.95 kB / 0.5661 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.3485, allocations: 295.8 kB / 0.5664 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.3488, allocations: 74.55 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.3489, allocations: 32.83 kB / 0.5665 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.3489, allocations: 4 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.3491, allocations: 87.34 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.3491, allocations: 0 / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008685/0.35, allocations: 301.1 kB / 0.5669 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.35, allocations: 59.34 kB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3502, allocations: 195.2 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3502, allocations: 29.7 kB / 0.5672 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.3503, allocations: 108.4 kB / 0.5673 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.3504, allocations: 47.78 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.3504, allocations: 33.7 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3506, allocations: 326.8 kB / 0.5677 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-05/0.3507, allocations: 39.92 kB / 0.5677 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-05/0.3508, allocations: 53.69 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.3509, allocations: 101.6 kB / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3509, allocations: 8 kB / 0.5679 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002708/0.3512, allocations: 149.6 kB / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3512, allocations: 4 kB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3512, allocations: 0 / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3513, allocations: 0 / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.3513, allocations: 31.92 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.3514, allocations: 3.938 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.3514, allocations: 0 / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3514, allocations: 8 kB / 0.568 GB, free: 13.94 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.0001268/0.3515, allocations: 134.7 kB / 0.5682 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.3516, allocations: 15.91 kB / 0.5682 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.3519, allocations: 182.9 kB / 0.5684 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3519, allocations: 7.938 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3519, allocations: 3.938 kB / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3519, allocations: 0 / 0.5684 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.3526, allocations: 459 kB / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3526, allocations: 0 / 0.5688 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.3526, allocations: 23.92 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3526, allocations: 3.938 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3526, allocations: 8 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.3526, allocations: 0 / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3527, allocations: 4 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.353, allocations: 257.1 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.353, allocations: 7.953 kB / 0.5691 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.353, allocations: 11.92 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.3531, allocations: 4 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.3532, allocations: 11.98 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.3532, allocations: 7.938 kB / 0.5691 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3533, allocations: 147.2 kB / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3533, allocations: 4 kB / 0.5693 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3536, allocations: 39.88 kB / 0.5693 GB, free: 12.54 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 (13): * Single equations (assignments): 11 * 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.001957/0.3556, allocations: 0.5029 MB / 0.5698 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.3558, allocations: 102.1 kB / 0.5699 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3558, allocations: 0 / 0.5699 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.866e-05/0.3559, allocations: 39.92 kB / 0.5699 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3563, allocations: 37.98 kB / 0.57 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006022/0.3569, allocations: 302.2 kB / 0.5703 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.3573, allocations: 0.7123 MB / 0.571 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.3573, allocations: 27.42 kB / 0.571 GB, free: 10.97 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3573, allocations: 4 kB / 0.571 GB, free: 10.97 MB / 414.1 MB Notification: Performance of Templates: time 0.004838/0.3622, allocations: 2.403 MB / 0.5733 GB, free: 8.574 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.039423847105354]