Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001011/0.001011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001879/0.00289, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001423/0.001423, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004801/0.006225, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.189/1.189, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1163/1.305, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2935/0.2935, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0298/0.3233, allocations: 12.52 MB / 289.3 MB, free: 8.672 MB / 282.7 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.402e-05, allocations: 2.969 kB / 290.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.004065/0.004099, allocations: 1.804 MB / 292.5 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.006017, allocations: 1.019 MB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.006136, allocations: 0.5 kB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.006423, allocations: 47.8 kB / 293.6 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.006754, allocations: 88.06 kB / 293.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.007051, allocations: 84.94 kB / 293.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.007309, allocations: 103.7 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.00744, allocations: 12.73 kB / 293.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.007648, allocations: 79.75 kB / 293.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.007758, allocations: 31.91 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.00778, allocations: 4 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.007921, allocations: 47.91 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.593e-05/0.007987, allocations: 15.94 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.00804, allocations: 15.94 kB / 294 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.00831, allocations: 99.55 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-05/0.008333, allocations: 0 / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.008335, allocations: 0 / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.008356, allocations: 0 / 294.1 MB, free: 4.758 MB / 282.7 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.0006202/0.008976, allocations: 340.5 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.009026, allocations: 8.031 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.009077, allocations: 12.92 kB / 294.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.009314, allocations: 150.3 kB / 294.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.009336, allocations: 384 / 294.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.009358, allocations: 4.375 kB / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.009517, allocations: 65.7 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.009531, allocations: 3.938 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.00954, allocations: 0 / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.009549, allocations: 4 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.009592, allocations: 7.984 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.009897, allocations: 165.9 kB / 294.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.01003, allocations: 89.36 kB / 295 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/0.01006, allocations: 8.859 kB / 295 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.01007, allocations: 0 / 295 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.01021, allocations: 78.02 kB / 295.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.01021, allocations: 0 / 295.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004567/0.01067, allocations: 117.7 kB / 295.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.01071, allocations: 55.41 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.01086, allocations: 180.8 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.01088, allocations: 29.7 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.01093, allocations: 92.11 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.01096, allocations: 23.84 kB / 295.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/0.01101, allocations: 25.7 kB / 295.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.01112, allocations: 322.8 kB / 295.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.01115, allocations: 10.81 kB / 295.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.01118, allocations: 25.7 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.01124, allocations: 44.44 kB / 296 MB, free: 2.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01125, allocations: 4 kB / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001075/0.01135, allocations: 76.38 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.01137, allocations: 5.719 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01138, allocations: 0 / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.01139, allocations: 0 / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.01148, allocations: 20 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.01149, allocations: 0 / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.01153, allocations: 7.984 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.01153, allocations: 0 / 296.1 MB, free: 2.641 MB / 282.7 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.0001033/0.01164, allocations: 120.6 kB / 296.2 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.01166, allocations: 15.92 kB / 296.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.0118, allocations: 79.11 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.0118, allocations: 0 / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.01181, allocations: 3.984 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01181, allocations: 0 / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.01216, allocations: 303.5 kB / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01217, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.01221, allocations: 12 kB / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01223, allocations: 11.89 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01223, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.01224, allocations: 7.984 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.01225, allocations: 8.031 kB / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01225, allocations: 0 / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.01239, allocations: 218.9 kB / 296.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.01241, allocations: 0 / 296.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.01248, allocations: 8 kB / 296.8 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.01251, allocations: 7.984 kB / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.01253, allocations: 0 / 296.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.906e-05/0.01259, allocations: 51.64 kB / 296.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01259, allocations: 0 / 296.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.01284, allocations: 27.98 kB / 296.9 MB, free: 1.715 MB / 282.7 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.001869/0.0147, allocations: 0.6308 MB / 297.6 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.01482, allocations: 44.7 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/0.01483, allocations: 8.062 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.01487, allocations: 28.78 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.01513, allocations: 37.05 kB / 297.7 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.01578, allocations: 223.7 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.638e-05/0.01583, allocations: 63.34 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.217e-05/0.01589, allocations: 17.27 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.479e-05/0.01597, allocations: 71.36 kB / 298 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01597, allocations: 4.062 kB / 298.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of Templates: time 0.005175/0.02115, allocations: 2.046 MB / 300.1 MB, free: 14.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.248999777249992]