Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.001062/0.001062, 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.001245/0.001245, allocations: 173.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.9372/0.9372, allocations: 158.6 MB / 186 MB, free: 2.727 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.1808/0.1808, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.355e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002433/0.002456, allocations: 1.686 MB / 300.8 MB, free: 460 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004906/0.002947, allocations: 327.3 kB / 301.1 MB, free: 128 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.003001, allocations: 0 / 301.1 MB, free: 128 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.131/0.134, allocations: 457.6 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.1344, allocations: 254.2 kB / 301.8 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.1347, allocations: 100 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.1351, allocations: 165.9 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1352, allocations: 9.719 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.1354, allocations: 119.2 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1356, allocations: 194.8 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1356, allocations: 3.938 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.1357, allocations: 34.58 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.79e-05/0.1358, allocations: 82.66 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.31e-05/0.1358, allocations: 34.95 kB / 302.5 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1361, allocations: 193.8 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1361, allocations: 0 / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1361, allocations: 1.359 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1361, allocations: 0 / 302.7 MB, free: 19.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004857/0.1366, allocations: 0.5372 MB / 303.3 MB, free: 18.74 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1366, allocations: 10.03 kB / 303.3 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.1367, allocations: 23.62 kB / 303.3 MB, free: 18.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1369, allocations: 244.7 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1369, allocations: 2.656 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1369, allocations: 3.812 kB / 303.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.953e-05/0.137, allocations: 57.06 kB / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.137, allocations: 4.188 kB / 303.6 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.137, allocations: 7.281 kB / 303.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.137, allocations: 0 / 303.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.1371, allocations: 10.11 kB / 303.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.1373, allocations: 160.8 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1374, allocations: 31.77 kB / 303.8 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.1374, allocations: 9.172 kB / 303.8 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.1374, allocations: 2.047 kB / 303.8 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.1375, allocations: 39.73 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1375, allocations: 0 / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002844/0.1377, allocations: 99.12 kB / 304 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.1378, allocations: 53.27 kB / 304 MB, free: 18.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.1382, allocations: 0.5223 MB / 304.5 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.1382, allocations: 26.86 kB / 304.6 MB, free: 18.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.1383, allocations: 147.5 kB / 304.7 MB, free: 17.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1383, allocations: 16.45 kB / 304.7 MB, free: 17.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.1383, allocations: 15.55 kB / 304.7 MB, free: 17.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.1384, allocations: 358.8 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.1384, allocations: 8.203 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.056e-05/0.1384, allocations: 3.562 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.1384, allocations: 20.38 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1384, allocations: 1.406 kB / 305.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.443e-05/0.1385, allocations: 66.56 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1385, allocations: 10.03 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1385, allocations: 1.062 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1385, allocations: 1.312 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.1386, allocations: 13.2 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.1386, allocations: 1.922 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.1386, allocations: 2.109 kB / 305.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1386, allocations: 6.25 kB / 305.2 MB, free: 17.54 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.994e-05/0.1387, allocations: 110.9 kB / 305.3 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1387, allocations: 26.52 kB / 305.4 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.1388, allocations: 87.47 kB / 305.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1388, allocations: 0 / 305.4 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.1388, allocations: 5.438 kB / 305.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1388, allocations: 0.5625 kB / 305.4 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.1391, allocations: 272.5 kB / 305.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1391, allocations: 0.7031 kB / 305.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.1391, allocations: 10.61 kB / 305.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1391, allocations: 0 / 305.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-06/0.1391, allocations: 2.031 kB / 305.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1391, allocations: 0 / 305.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1391, allocations: 0.5156 kB / 305.7 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.934e-05/0.1392, allocations: 166.6 kB / 305.9 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.1392, allocations: 38.06 kB / 305.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1392, allocations: 1.406 kB / 305.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.1393, allocations: 3.703 kB / 305.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1393, allocations: 3.828 kB / 305.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1393, allocations: 1.781 kB / 305.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002166/0.1395, allocations: 279 kB / 306.2 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1395, allocations: 0 / 306.2 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.1397, allocations: 22.72 kB / 306.2 MB, free: 17 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.001047/0.1407, allocations: 0.4976 MB / 306.7 MB, free: 16.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.992e-05/0.1408, allocations: 29.97 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.1408, allocations: 4.969 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.1408, allocations: 15.53 kB / 306.8 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.141, allocations: 29.42 kB / 306.8 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.1417, allocations: 0.5731 MB / 307.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.1418, allocations: 118.3 kB / 307.5 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.1419, allocations: 9.547 kB / 307.5 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.1419, allocations: 66 kB / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1419, allocations: 0 / 307.6 MB, free: 16.26 MB / 282.7 MB Notification: Performance of Templates: time 0.004541/0.1465, allocations: 1.424 MB / 309 MB, free: 16.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.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.9897137279622257]