Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001179/0.001179, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001745/0.002924, 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.0007522/0.0007522, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001768, 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 0.9702/0.9702, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09377/1.064, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2583/0.2583, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02657/0.2849, allocations: 13.09 MB / 291.3 MB, free: 7.375 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.294e-05, allocations: 2.312 kB / 292.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002318/0.002341, allocations: 1.766 MB / 294.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.003735, allocations: 1.002 MB / 295.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.003808, allocations: 0 / 295.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.004038, allocations: 67.66 kB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.004282, allocations: 103.5 kB / 295.6 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.004486, allocations: 83.59 kB / 295.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.004706, allocations: 107.7 kB / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.805e-05/0.004764, allocations: 4.234 kB / 295.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.004949, allocations: 95.67 kB / 295.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.005059, allocations: 31.89 kB / 296 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.005074, allocations: 4 kB / 296 MB, free: 2.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.00516, allocations: 35.98 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.005206, allocations: 15.92 kB / 296 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.005243, allocations: 15.94 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.005404, allocations: 83.62 kB / 296.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.586e-05/0.00542, allocations: 8 kB / 296.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005421, allocations: 0 / 296.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.005437, allocations: 0 / 296.1 MB, free: 2.789 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004333/0.00587, allocations: 325.1 kB / 296.4 MB, free: 2.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.005903, allocations: 12.03 kB / 296.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.005931, allocations: 4.938 kB / 296.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.006087, allocations: 146.3 kB / 296.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.006105, allocations: 8.359 kB / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.006114, allocations: 384 / 296.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.006224, allocations: 57.77 kB / 296.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.006233, allocations: 7.938 kB / 296.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.00624, allocations: 4 kB / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.006244, allocations: 0 / 296.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.556e-05/0.00627, allocations: 7.938 kB / 296.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.006371, allocations: 78.58 kB / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.279e-05/0.006464, allocations: 33.44 kB / 296.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.006487, allocations: 12.86 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.006499, allocations: 4 kB / 296.8 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.676e-05/0.006596, allocations: 58.2 kB / 296.9 MB, free: 1.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.006597, allocations: 7.938 kB / 296.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001225/0.006719, allocations: 65.8 kB / 296.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.006754, allocations: 55.34 kB / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.006865, allocations: 173.3 kB / 297.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.006881, allocations: 25.7 kB / 297.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.006912, allocations: 100.1 kB / 297.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.006942, allocations: 7.906 kB / 297.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.006974, allocations: 25.7 kB / 297.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.007062, allocations: 322.8 kB / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.00708, allocations: 10.89 kB / 297.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.0071, allocations: 21.72 kB / 297.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.007143, allocations: 39.28 kB / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.007145, allocations: 0 / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.945e-05/0.007215, allocations: 64.44 kB / 297.8 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.007229, allocations: 8 kB / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.007235, allocations: 0 / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.007244, allocations: 0 / 297.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.007318, allocations: 19.92 kB / 297.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.007322, allocations: 0 / 297.8 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.007351, allocations: 4.031 kB / 297.8 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.007356, allocations: 4 kB / 297.8 MB, free: 0.9297 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 (7): * Single equations (assignments): 7 * 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.02e-05/0.007426, allocations: 116.7 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.007438, allocations: 7.984 kB / 297.9 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.007546, allocations: 66.77 kB / 298 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.00755, allocations: 4 kB / 298 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.007553, allocations: 3.938 kB / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007556, allocations: 0 / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.545e-05/0.007631, allocations: 77.88 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.007633, allocations: 0 / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.007653, allocations: 8 kB / 298.1 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.007666, allocations: 15.88 kB / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007667, allocations: 0 / 298.1 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.007678, allocations: 4 kB / 298.1 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.007682, allocations: 4.125 kB / 298.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.007685, allocations: 7.922 kB / 298.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.314e-05/0.007758, allocations: 90.69 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.007774, allocations: 7.938 kB / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.007795, allocations: 0 / 298.2 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.00782, allocations: 7.984 kB / 298.2 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.007829, allocations: 4 kB / 298.2 MB, free: 468 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.007873, allocations: 59.58 kB / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007874, allocations: 0 / 298.3 MB, free: 404 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001195/0.007993, allocations: 19.95 kB / 298.3 MB, free: 384 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001266/0.009259, allocations: 0.547 MB / 298.8 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.789e-05/0.009357, allocations: 32.78 kB / 298.9 MB, free: 96 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.009369, allocations: 8 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.479e-05/0.009393, allocations: 12.92 kB / 298.9 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.009537, allocations: 46.62 kB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.009989, allocations: 194.8 kB / 299.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.227e-05/0.01002, allocations: 63.34 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.213e-05/0.01005, allocations: 12.48 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.01011, allocations: 67.36 kB / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of SimCode: time 1.223e-06/0.01012, allocations: 0 / 299.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of Templates: time 0.003617/0.01373, allocations: 1.802 MB / 301.1 MB, free: 13.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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: 2.9122694889083505]