Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.0009763/0.0009763, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001202/0.001202, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8916/0.8916, allocations: 158.6 MB / 186 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.141/0.141, allocations: 32.39 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.094e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002305/0.002326, allocations: 1.636 MB / 300.8 MB, free: 500 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000531/0.002857, allocations: 327.3 kB / 301.1 MB, free: 168 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.002906, allocations: 7.938 kB / 301.1 MB, free: 160 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.003108, allocations: 15.92 kB / 301.1 MB, free: 144 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.003252, allocations: 43.7 kB / 301.1 MB, free: 100 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.003467, allocations: 91.75 kB / 301.2 MB, free: 8 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1373/0.1408, allocations: 48.78 kB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1409, allocations: 9.875 kB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.116e-05/0.141, allocations: 26.27 kB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.1411, allocations: 17.72 kB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1411, allocations: 3.594 kB / 301.3 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1412, allocations: 35.95 kB / 301.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.1413, allocations: 8.031 kB / 301.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.1413, allocations: 18.53 kB / 301.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1415, allocations: 62.44 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1415, allocations: 2.75 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1415, allocations: 1.156 kB / 301.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1415, allocations: 0 / 301.5 MB, free: 19.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000315/0.1418, allocations: 276.7 kB / 301.7 MB, free: 18.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1419, allocations: 10.3 kB / 301.7 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.1419, allocations: 5.516 kB / 301.7 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.142, allocations: 133 kB / 301.9 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.142, allocations: 4.062 kB / 301.9 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1421, allocations: 1.875 kB / 301.9 MB, free: 18.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.124e-05/0.1421, allocations: 54.12 kB / 301.9 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1422, allocations: 6.656 kB / 301.9 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1422, allocations: 1.125 kB / 301.9 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1422, allocations: 7.062 kB / 302 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.1422, allocations: 6.359 kB / 302 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.1424, allocations: 167.7 kB / 302.1 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1426, allocations: 35.33 kB / 302.2 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.1426, allocations: 8.391 kB / 302.2 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1426, allocations: 2.031 kB / 302.2 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/0.1426, allocations: 32.66 kB / 302.2 MB, free: 18.58 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.1426, allocations: 1.656 kB / 302.2 MB, free: 18.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003227/0.1429, allocations: 82.69 kB / 302.3 MB, free: 18.54 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.143, allocations: 53.12 kB / 302.3 MB, free: 18.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.143, allocations: 142.9 kB / 302.5 MB, free: 18.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.143, allocations: 27.52 kB / 302.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.1431, allocations: 89.33 kB / 302.6 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1431, allocations: 14.59 kB / 302.6 MB, free: 18.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.1431, allocations: 18.34 kB / 302.6 MB, free: 18.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.1432, allocations: 320.4 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.1432, allocations: 4.281 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.1432, allocations: 5.375 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/0.1432, allocations: 27.16 kB / 303 MB, free: 17.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1432, allocations: 0.6562 kB / 303 MB, free: 17.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.532e-05/0.1433, allocations: 51.05 kB / 303 MB, free: 17.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1433, allocations: 8.281 kB / 303 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1433, allocations: 1.25 kB / 303 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1433, allocations: 0.5625 kB / 303 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.1434, allocations: 11.19 kB / 303 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.1434, allocations: 4.484 kB / 303 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.075e-05/0.1434, allocations: 2.219 kB / 303 MB, free: 17.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1434, allocations: 1.438 kB / 303 MB, free: 17.86 MB / 282.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 (5): * Single equations (assignments): 5 * 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 4.746e-05/0.1435, allocations: 118.2 kB / 303.2 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1435, allocations: 14.3 kB / 303.2 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.1436, allocations: 57.94 kB / 303.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1436, allocations: 3.969 kB / 303.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1436, allocations: 0 / 303.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1436, allocations: 1.953 kB / 303.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1438, allocations: 208.1 kB / 303.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1438, allocations: 0.75 kB / 303.4 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.631e-05/0.1439, allocations: 13.78 kB / 303.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1439, allocations: 1.125 kB / 303.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.1439, allocations: 0 / 303.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1439, allocations: 3.469 kB / 303.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1439, allocations: 0 / 303.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.897e-05/0.1439, allocations: 147.7 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.144, allocations: 12.84 kB / 303.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.144, allocations: 1.234 kB / 303.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.243e-05/0.144, allocations: 5.047 kB / 303.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.144, allocations: 5.453 kB / 303.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.144, allocations: 2.375 kB / 303.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.1441, allocations: 26.48 kB / 303.7 MB, free: 17.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1441, allocations: 1.75 kB / 303.7 MB, free: 17.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000143/0.1442, allocations: 17.98 kB / 303.7 MB, free: 17.37 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001078/0.1453, allocations: 0.4963 MB / 304.2 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.723e-05/0.1454, allocations: 25.42 kB / 304.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1454, allocations: 0 / 304.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.1454, allocations: 21.64 kB / 304.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.1456, allocations: 15.09 kB / 304.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.1459, allocations: 168.9 kB / 304.4 MB, free: 16.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.3e-05/0.1459, allocations: 61.38 kB / 304.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.425e-05/0.146, allocations: 7.219 kB / 304.5 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.146, allocations: 60.2 kB / 304.5 MB, free: 16.83 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.146, allocations: 1.375 kB / 304.5 MB, free: 16.83 MB / 282.7 MB Notification: Performance of Templates: time 0.003336/0.1493, allocations: 1.233 MB / 305.8 MB, free: 16.69 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.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.884687038138509]