Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001476/0.001476, allocations: 81.97 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001807/0.001807, allocations: 169.9 kB / 25.61 MB, free: 8.914 MB / 18.57 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.003/1.003, allocations: 177.2 MB / 206.1 MB, free: 4.508 MB / 186.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.1409/0.1409, allocations: 32.81 MB / 295.4 MB, free: 15.37 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.402e-05, allocations: 6.141 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001997/0.002021, allocations: 1.638 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006495/0.002671, allocations: 0.5336 MB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.002728, allocations: 4 kB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.00294, allocations: 31.72 kB / 379.5 MB, free: 23.35 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.00317, allocations: 79.62 kB / 379.6 MB, free: 23.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.003386, allocations: 91.62 kB / 379.7 MB, free: 23.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.003548, allocations: 83.75 kB / 379.7 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.003637, allocations: 11.8 kB / 379.7 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.003707, allocations: 35.91 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.003777, allocations: 23.97 kB / 379.8 MB, free: 23.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.003793, allocations: 7.938 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.003956, allocations: 95.81 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.003998, allocations: 15.92 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.004024, allocations: 11.98 kB / 379.9 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.004282, allocations: 151.5 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004284, allocations: 0 / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.004285, allocations: 0 / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.00429, allocations: 0 / 380.1 MB, free: 22.75 MB / 314.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.0003496/0.004639, allocations: 443.9 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.004673, allocations: 11.98 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.004707, allocations: 8.891 kB / 380.5 MB, free: 22.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.004818, allocations: 144.4 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.004825, allocations: 384 / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.004844, allocations: 8.375 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.777e-05/0.004941, allocations: 104 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.004951, allocations: 192 / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.004961, allocations: 8.125 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004967, allocations: 0 / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.005, allocations: 11.98 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.005288, allocations: 264.4 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.04e-05/0.005358, allocations: 43.05 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.005382, allocations: 19.67 kB / 381.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.0054, allocations: 0 / 381.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.005419, allocations: 45.33 kB / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.00542, allocations: 0 / 381.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003616/0.005782, allocations: 121.5 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.005803, allocations: 77.11 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.005884, allocations: 204.4 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.00589, allocations: 25.7 kB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.005921, allocations: 146.8 kB / 381.7 MB, free: 20.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.005937, allocations: 27.78 kB / 381.8 MB, free: 20.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.005966, allocations: 27.38 kB / 381.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.00601, allocations: 0.4923 MB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.006023, allocations: 8.359 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.006062, allocations: 61.05 kB / 382.3 MB, free: 20.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/0.006111, allocations: 35.75 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.006113, allocations: 4 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001074/0.00622, allocations: 81.47 kB / 382.5 MB, free: 20.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.006233, allocations: 11.94 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.006239, allocations: 0 / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.006248, allocations: 0 / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.126e-05/0.006329, allocations: 19.98 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.006332, allocations: 0 / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.006364, allocations: 0 / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.006371, allocations: 8.031 kB / 382.5 MB, free: 20.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.066e-05/0.006422, allocations: 160.6 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.006455, allocations: 15.89 kB / 382.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.006575, allocations: 86.44 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.006578, allocations: 4 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.006579, allocations: 0 / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.006583, allocations: 0 / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.00684, allocations: 329.9 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.006842, allocations: 0 / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.006903, allocations: 15.98 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.006906, allocations: 4 kB / 383.1 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.006913, allocations: 8 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.006915, allocations: 0 / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.006916, allocations: 0 / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.007035, allocations: 219.8 kB / 383.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.007049, allocations: 11.94 kB / 383.3 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.007065, allocations: 4 kB / 383.3 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.007126, allocations: 7.984 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.00715, allocations: 3.984 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.007155, allocations: 4 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.083e-05/0.007206, allocations: 151.2 kB / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007206, allocations: 0 / 383.5 MB, free: 19.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.007478, allocations: 43.86 kB / 383.6 MB, free: 18.98 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001155/0.008633, allocations: 0.497 MB / 384 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.008746, allocations: 39.55 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.008748, allocations: 4 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.00878, allocations: 23.67 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.00907, allocations: 26.77 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.009343, allocations: 180.2 kB / 384.3 MB, free: 18.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.075e-05/0.009374, allocations: 71.2 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.873e-05/0.009433, allocations: 24.56 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.009505, allocations: 86.19 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009506, allocations: 0 / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of Templates: time 0.004433/0.01394, allocations: 2.279 MB / 386.8 MB, free: 15.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.324532998725772]