Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001167/0.001167, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00149/0.002657, 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.001049/0.001049, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002314, 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.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.122, allocations: 53.65 MB / 243.2 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.2981/0.2981, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02202/0.3201, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 292.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.79e-05, allocations: 2.312 kB / 292.7 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002159/0.002177, allocations: 1.883 MB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.004005, allocations: 1.833 MB / 296.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.004058, allocations: 0 / 296.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.004188, allocations: 55.56 kB / 296.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.004419, allocations: 143.2 kB / 296.6 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.004575, allocations: 115.5 kB / 296.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.004744, allocations: 199.4 kB / 296.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.004778, allocations: 18.39 kB / 296.9 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.004942, allocations: 156.3 kB / 297.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.005046, allocations: 59.8 kB / 297.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.005063, allocations: 12 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.005227, allocations: 115.8 kB / 297.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.005268, allocations: 35.86 kB / 297.3 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.005303, allocations: 27.88 kB / 297.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.005502, allocations: 183.3 kB / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.00551, allocations: 0 / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00551, allocations: 0 / 297.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.00552, allocations: 0 / 297.5 MB, free: 1.375 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003706/0.00589, allocations: 428.4 kB / 297.9 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.14e-05/0.005912, allocations: 12.62 kB / 297.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.874e-05/0.00594, allocations: 16.92 kB / 298 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.00609, allocations: 181.4 kB / 298.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.0061, allocations: 8.312 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.00611, allocations: 8.375 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.006216, allocations: 148.6 kB / 298.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.006222, allocations: 3.938 kB / 298.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.006229, allocations: 4 kB / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-06/0.006232, allocations: 0 / 298.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.293e-05/0.006265, allocations: 21.58 kB / 298.3 MB, free: 488 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.933e-05/0.006344, allocations: 86.38 kB / 298.4 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.888e-05/0.006433, allocations: 78.86 kB / 298.5 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.006461, allocations: 29.7 kB / 298.5 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.00647, allocations: 3.938 kB / 298.5 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.451e-05/0.006564, allocations: 99.84 kB / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.006565, allocations: 0 / 298.6 MB, free: 120 kB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001152/0.006681, allocations: 95.25 kB / 298.7 MB, free: 16 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.006723, allocations: 85.05 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.006871, allocations: 230.5 kB / 299 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.006884, allocations: 25.7 kB / 299.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.006915, allocations: 100.6 kB / 299.1 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.006945, allocations: 35.77 kB / 299.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.006976, allocations: 21.72 kB / 299.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.007056, allocations: 342.7 kB / 299.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.007073, allocations: 10.83 kB / 299.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.00712, allocations: 102 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.67e-05/0.007176, allocations: 71.84 kB / 299.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007178, allocations: 0 / 299.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.583e-05/0.007254, allocations: 91.25 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.007263, allocations: 4 kB / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.007265, allocations: 0 / 299.8 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.007272, allocations: 7.984 kB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.007335, allocations: 36.48 kB / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.007337, allocations: 0 / 299.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.007374, allocations: 11.89 kB / 299.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.007381, allocations: 12.05 kB / 299.9 MB, free: 14.74 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.868e-05/0.00744, allocations: 121.2 kB / 300 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.007459, allocations: 19.98 kB / 300 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.513e-05/0.007554, allocations: 90.73 kB / 300.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.007558, allocations: 7.984 kB / 300.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.00756, allocations: 3.938 kB / 300.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007563, allocations: 0 / 300.1 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.222e-05/0.007645, allocations: 105.8 kB / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.007646, allocations: 0 / 300.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.00767, allocations: 15.94 kB / 300.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.007692, allocations: 23.84 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007694, allocations: 4 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-06/0.007698, allocations: 0 / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007699, allocations: 0 / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.007701, allocations: 3.938 kB / 300.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.007787, allocations: 123.3 kB / 300.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.007805, allocations: 8 kB / 300.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.813e-05/0.007833, allocations: 4 kB / 300.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.007856, allocations: 7.984 kB / 300.4 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.007869, allocations: 15.92 kB / 300.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.874e-05/0.007927, allocations: 82.55 kB / 300.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007927, allocations: 0 / 300.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.008084, allocations: 59.86 kB / 300.6 MB, free: 14 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001301/0.009385, allocations: 0.6961 MB / 301.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.009475, allocations: 56.77 kB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.009482, allocations: 4 kB / 301.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.009514, allocations: 32.78 kB / 301.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.009678, allocations: 82.97 kB / 301.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.01009, allocations: 280 kB / 301.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.01012, allocations: 75.98 kB / 301.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.01017, allocations: 29.97 kB / 301.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.01028, allocations: 99.33 kB / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01028, allocations: 0 / 301.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Templates: time 0.00468/0.01496, allocations: 3.808 MB / 305.7 MB, free: 9.219 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.9838680140674114]