Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.0008827/0.0008827, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00489/0.005773, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009099/0.0009099, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002291, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09051/1.099, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.2771/0.2771, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02598/0.303, allocations: 13.11 MB / 291.5 MB, free: 7.332 MB / 282.7 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.762e-05, allocations: 6.141 kB / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002102/0.00212, allocations: 1.815 MB / 294.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.003266, allocations: 1.01 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.00333, allocations: 0 / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.003502, allocations: 59.56 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.003737, allocations: 95.47 kB / 295.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.003929, allocations: 79.56 kB / 296 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.004072, allocations: 107.6 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.004133, allocations: 4 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.004246, allocations: 83.75 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.004309, allocations: 27.91 kB / 296.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.004322, allocations: 4 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.503e-05/0.004397, allocations: 51.86 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.004438, allocations: 19.92 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.004465, allocations: 15.94 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.004604, allocations: 103.6 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.004613, allocations: 0 / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004614, allocations: 0 / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.004623, allocations: 0 / 296.4 MB, free: 2.633 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.0003714/0.004994, allocations: 337 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.005021, allocations: 12.03 kB / 296.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.005052, allocations: 8.922 kB / 296.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.005193, allocations: 150.5 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.005208, allocations: 4.375 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.005226, allocations: 4.375 kB / 296.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.452e-05/0.005321, allocations: 61.77 kB / 297 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.00533, allocations: 3.938 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.005335, allocations: 0 / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005341, allocations: 4 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.005363, allocations: 11.97 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.005552, allocations: 169.9 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.398e-05/0.005636, allocations: 97.22 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.005653, allocations: 12.86 kB / 297.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.005664, allocations: 4 kB / 297.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.567e-05/0.005749, allocations: 62.11 kB / 297.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.00575, allocations: 0 / 297.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002959/0.006046, allocations: 117.8 kB / 297.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.006072, allocations: 51.41 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.006174, allocations: 184.8 kB / 297.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.006189, allocations: 29.7 kB / 297.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.006221, allocations: 92.11 kB / 297.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.006247, allocations: 35.73 kB / 297.8 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.006282, allocations: 25.69 kB / 297.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.006356, allocations: 322.8 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.006373, allocations: 14.77 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.006395, allocations: 29.69 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.006435, allocations: 32.53 kB / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006435, allocations: 0 / 298.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.926e-05/0.006525, allocations: 84.42 kB / 298.3 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.006539, allocations: 8 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006544, allocations: 4.031 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.006557, allocations: 0 / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.006635, allocations: 19.98 kB / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.006641, allocations: 3.938 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.006668, allocations: 0 / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.006674, allocations: 4 kB / 298.4 MB, free: 0.4922 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 7.584e-05/0.00675, allocations: 120.7 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.006763, allocations: 7.938 kB / 298.5 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.006886, allocations: 83.06 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.006888, allocations: 0 / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.00689, allocations: 4 kB / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.006894, allocations: 0 / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.007176, allocations: 291.5 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.007179, allocations: 0 / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.007215, allocations: 15.98 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.007233, allocations: 19.83 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.007236, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.007243, allocations: 3.938 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.007246, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.007248, allocations: 4 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.007377, allocations: 219 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.007395, allocations: 4 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.007437, allocations: 4 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.007469, allocations: 7.984 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.007483, allocations: 0 / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.007538, allocations: 56.7 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007539, allocations: 0 / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001558/0.007694, allocations: 23.94 kB / 299.2 MB, free: 15.57 MB / 298.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.001515/0.009209, allocations: 0.6552 MB / 299.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.009317, allocations: 40.83 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.009328, allocations: 4 kB / 299.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.009369, allocations: 36.88 kB / 299.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.00961, allocations: 180.4 kB / 300.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.01008, allocations: 231.6 kB / 300.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.01012, allocations: 71.33 kB / 300.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.01015, allocations: 12.97 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.01021, allocations: 63.38 kB / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01021, allocations: 96 / 300.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of Templates: time 0.003663/0.01388, allocations: 2.06 MB / 302.5 MB, free: 12.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.905813413672149]