Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.0009747/0.0009747, allocations: 76.06 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.0009322/0.0009322, allocations: 169 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.9484/0.9484, allocations: 158.6 MB / 186 MB, free: 2.73 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.1329/0.1329, 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.968e-05, allocations: 2.312 kB / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003222/0.003242, allocations: 2.048 MB / 301.2 MB, free: 84 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1428/0.1461, allocations: 0.9897 MB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.1462, allocations: 2.219 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.1464, allocations: 52.11 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.1468, allocations: 153.8 kB / 302.4 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007681/0.1476, allocations: 384.2 kB / 302.7 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.1479, allocations: 290.2 kB / 303 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.1481, allocations: 49.91 kB / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.1483, allocations: 167.9 kB / 303.2 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.1485, allocations: 164.1 kB / 303.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.1486, allocations: 14.28 kB / 303.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.642e-05/0.1487, allocations: 46.62 kB / 303.5 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1488, allocations: 144.3 kB / 303.6 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/0.1489, allocations: 82.03 kB / 303.7 MB, free: 18.94 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.1492, allocations: 294.6 kB / 304 MB, free: 18.85 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1492, allocations: 0 / 304 MB, free: 18.85 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1492, allocations: 1.812 kB / 304 MB, free: 18.85 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.1492, allocations: 0 / 304 MB, free: 18.85 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006893/0.1499, allocations: 0.6485 MB / 304.6 MB, free: 18.37 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.15, allocations: 10.42 kB / 304.6 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.244e-05/0.15, allocations: 37.66 kB / 304.7 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.1503, allocations: 302.8 kB / 305 MB, free: 18.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1504, allocations: 6.234 kB / 305 MB, free: 18.13 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.1504, allocations: 11.59 kB / 305 MB, free: 18.13 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1506, allocations: 125.5 kB / 305.1 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1506, allocations: 3.938 kB / 305.1 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1506, allocations: 6.891 kB / 305.1 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1506, allocations: 4.469 kB / 305.1 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.328e-05/0.1507, allocations: 28.02 kB / 305.1 MB, free: 18.04 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.1511, allocations: 347.1 kB / 305.5 MB, free: 17.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1512, allocations: 77.41 kB / 305.5 MB, free: 17.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.1512, allocations: 25.48 kB / 305.6 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.1513, allocations: 9.938 kB / 305.6 MB, free: 17.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1513, allocations: 33 kB / 305.6 MB, free: 17.65 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 4.458e-06/0.1513, allocations: 0 / 305.6 MB, free: 17.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007748/0.1521, allocations: 281 kB / 305.9 MB, free: 17.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.1521, allocations: 79.58 kB / 306 MB, free: 17.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005265/0.1526, allocations: 0.5264 MB / 306.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1526, allocations: 25.7 kB / 306.5 MB, free: 17.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.1527, allocations: 170 kB / 306.7 MB, free: 17.08 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.1528, allocations: 64.25 kB / 306.7 MB, free: 17.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.1528, allocations: 38.42 kB / 306.8 MB, free: 17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.1529, allocations: 367.6 kB / 307.1 MB, free: 16.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.1529, allocations: 21.7 kB / 307.2 MB, free: 16.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.153, allocations: 41.77 kB / 307.2 MB, free: 16.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1531, allocations: 80.36 kB / 307.3 MB, free: 16.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1531, allocations: 3.938 kB / 307.3 MB, free: 16.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002058/0.1533, allocations: 123.4 kB / 307.4 MB, free: 16.56 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1533, allocations: 6.297 kB / 307.4 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1534, allocations: 3.938 kB / 307.4 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1534, allocations: 1.375 kB / 307.4 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1535, allocations: 53.11 kB / 307.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1535, allocations: 3.25 kB / 307.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.361e-05/0.1536, allocations: 13.61 kB / 307.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.1537, allocations: 9.797 kB / 307.5 MB, free: 16.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.791e-05/0.1537, allocations: 120 kB / 307.6 MB, free: 16.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.1538, allocations: 32.12 kB / 307.6 MB, free: 16.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1541, allocations: 183.7 kB / 307.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1541, allocations: 2.156 kB / 307.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1541, allocations: 1.188 kB / 307.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1541, allocations: 2.375 kB / 307.8 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.1547, allocations: 485.8 kB / 308.3 MB, free: 16.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1547, allocations: 3.938 kB / 308.3 MB, free: 16.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1548, allocations: 54.08 kB / 308.4 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1548, allocations: 1.438 kB / 308.4 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1548, allocations: 3.359 kB / 308.4 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1548, allocations: 2.172 kB / 308.4 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1548, allocations: 0.6875 kB / 308.4 MB, free: 16.01 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.155, allocations: 296.8 kB / 308.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.1551, allocations: 55.06 kB / 308.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1551, allocations: 6.094 kB / 308.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1553, allocations: 11.69 kB / 308.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1553, allocations: 21.61 kB / 308.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1554, allocations: 11.34 kB / 308.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002843/0.1556, allocations: 265.9 kB / 309 MB, free: 15.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1556, allocations: 0 / 309 MB, free: 15.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.156, allocations: 63.17 kB / 309.1 MB, free: 15.66 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001178/0.1571, allocations: 0.5094 MB / 309.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1573, allocations: 80.02 kB / 309.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.1573, allocations: 5.156 kB / 309.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.1574, allocations: 60.52 kB / 309.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.1578, allocations: 93.11 kB / 309.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.1589, allocations: 0.7413 MB / 310.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.159, allocations: 137.6 kB / 310.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.1591, allocations: 68.95 kB / 310.8 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.1593, allocations: 105.7 kB / 310.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1593, allocations: 1.281 kB / 310.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of Templates: time 0.008165/0.1675, allocations: 4.634 MB / 315.5 MB, free: 12.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.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.9722655932419]