Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001152/0.001152, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001797/0.002949, 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.0009583/0.0009583, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001125/0.002083, 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 0.9359/0.9359, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08356/1.019, 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.2385/0.2385, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03019/0.2687, allocations: 13.1 MB / 291.5 MB, free: 7.328 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 292.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.27e-05, allocations: 3.516 kB / 292.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001804/0.001817, allocations: 1.803 MB / 294.7 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.002883, allocations: 1.018 MB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.002942, allocations: 4 kB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.003093, allocations: 47.58 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.003259, allocations: 91.48 kB / 295.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.003392, allocations: 87.53 kB / 296 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.003529, allocations: 103.6 kB / 296.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.051e-05/0.003599, allocations: 8 kB / 296.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.003707, allocations: 79.75 kB / 296.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.003773, allocations: 23.91 kB / 296.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.003786, allocations: 8 kB / 296.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.003857, allocations: 43.92 kB / 296.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.003898, allocations: 19.94 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.003927, allocations: 15.94 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004064, allocations: 91.59 kB / 296.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.004074, allocations: 4 kB / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.004074, allocations: 0 / 296.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.004083, allocations: 0 / 296.4 MB, free: 2.648 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.0004038/0.004486, allocations: 329.1 kB / 296.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.004515, allocations: 12.03 kB / 296.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.004546, allocations: 8.922 kB / 296.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.004681, allocations: 145.5 kB / 296.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.004694, allocations: 4.375 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.004712, allocations: 12.27 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.916e-05/0.004802, allocations: 61.77 kB / 296.9 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.00481, allocations: 3.938 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.004816, allocations: 4 kB / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.00482, allocations: 0 / 296.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.004842, allocations: 7.984 kB / 296.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.005011, allocations: 158 kB / 297.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.191e-05/0.005092, allocations: 97.27 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.005109, allocations: 12.86 kB / 297.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.00512, allocations: 4 kB / 297.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.00522, allocations: 58.16 kB / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.005221, allocations: 0 / 297.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002881/0.005509, allocations: 125.5 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.00554, allocations: 55.41 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.005633, allocations: 158.9 kB / 297.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.005648, allocations: 29.7 kB / 297.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.005682, allocations: 96.11 kB / 297.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.005704, allocations: 19.86 kB / 297.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.005734, allocations: 25.69 kB / 297.8 MB, free: 1.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.005817, allocations: 322.8 kB / 298.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.005831, allocations: 10.83 kB / 298.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.005854, allocations: 29.62 kB / 298.1 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.005893, allocations: 40.53 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.005894, allocations: 0 / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.059e-05/0.005965, allocations: 84.36 kB / 298.2 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.005975, allocations: 4.625 kB / 298.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.005979, allocations: 4.031 kB / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.005989, allocations: 0 / 298.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.006045, allocations: 19.98 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.006048, allocations: 0 / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.00607, allocations: 4 kB / 298.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.006076, allocations: 4 kB / 298.3 MB, free: 0.5586 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 5.67e-05/0.006133, allocations: 120.5 kB / 298.4 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.006147, allocations: 19.92 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.73e-05/0.006234, allocations: 66.45 kB / 298.5 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.006236, allocations: 0 / 298.5 MB, free: 344 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.006237, allocations: 4 kB / 298.5 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.006241, allocations: 7.922 kB / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.006417, allocations: 291.5 kB / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.006418, allocations: 0 / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.006441, allocations: 11.94 kB / 298.8 MB, free: 0 / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.006464, allocations: 11.95 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.006465, allocations: 0 / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006471, allocations: 11.92 kB / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006473, allocations: 0 / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006473, allocations: 0 / 298.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/0.00656, allocations: 223 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.006573, allocations: 4 kB / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.006607, allocations: 0 / 299 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.00663, allocations: 11.98 kB / 299 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.00664, allocations: 4.375 kB / 299.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.006672, allocations: 41.17 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006672, allocations: 0 / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001305/0.006802, allocations: 24 kB / 299.1 MB, free: 15.65 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.001265/0.008068, allocations: 0.6451 MB / 299.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.008142, allocations: 44.75 kB / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.008148, allocations: 4 kB / 299.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.008184, allocations: 28.94 kB / 299.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.008384, allocations: 186.8 kB / 300 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.008747, allocations: 212 kB / 300.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.008781, allocations: 71.28 kB / 300.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.008812, allocations: 12.97 kB / 300.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.008869, allocations: 67.36 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008869, allocations: 0 / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Templates: time 0.003012/0.01188, allocations: 2.04 MB / 302.4 MB, free: 12.66 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.8877836922183633]