Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.0009808/0.0009808, allocations: 76.06 kB / 20.72 MB, free: 3.762 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.001009/0.001009, allocations: 169 kB / 24.14 MB, free: 352 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.9228/0.9228, allocations: 158.6 MB / 186 MB, free: 2.734 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.1334/0.1334, allocations: 32.38 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.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.538e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.0032/0.003225, allocations: 1.686 MB / 300.8 MB, free: 448 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005379/0.003763, allocations: 335.3 kB / 301.1 MB, free: 108 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.003832, allocations: 4 kB / 301.1 MB, free: 104 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1345/0.1384, allocations: 453.3 kB / 301.6 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.1387, allocations: 244.9 kB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.139, allocations: 109.8 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.1393, allocations: 161.9 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.1394, allocations: 14.77 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1395, allocations: 122.8 kB / 302.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1397, allocations: 197.3 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1397, allocations: 3.812 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.941e-05/0.1398, allocations: 29.52 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.1399, allocations: 87.22 kB / 302.5 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.14, allocations: 41.05 kB / 302.6 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.1402, allocations: 192.2 kB / 302.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1402, allocations: 0.7812 kB / 302.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1402, allocations: 1.219 kB / 302.8 MB, free: 19.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1402, allocations: 0.6562 kB / 302.8 MB, free: 19.17 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.0004453/0.1406, allocations: 0.5398 MB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1407, allocations: 9.719 kB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.1407, allocations: 22.95 kB / 303.3 MB, free: 18.76 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.1409, allocations: 246.9 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1409, allocations: 3.469 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1409, allocations: 5.344 kB / 303.6 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.965e-05/0.141, allocations: 58.22 kB / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.141, allocations: 384 / 303.6 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-06/0.141, allocations: 10.86 kB / 303.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.141, allocations: 1.375 kB / 303.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.397e-05/0.141, allocations: 7.031 kB / 303.7 MB, free: 18.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.1412, allocations: 167.4 kB / 303.8 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/0.1413, allocations: 30.95 kB / 303.9 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.1413, allocations: 8.688 kB / 303.9 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1413, allocations: 1.781 kB / 303.9 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.1413, allocations: 43.81 kB / 303.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1413, allocations: 0.5938 kB / 303.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003127/0.1417, allocations: 116.8 kB / 304 MB, free: 18.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.1417, allocations: 54.38 kB / 304.1 MB, free: 18.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.1421, allocations: 0.5249 MB / 304.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.1421, allocations: 26.83 kB / 304.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.1421, allocations: 141.7 kB / 304.8 MB, free: 17.94 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1421, allocations: 27.33 kB / 304.8 MB, free: 17.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.1422, allocations: 22.03 kB / 304.8 MB, free: 17.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.1422, allocations: 356.1 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.1422, allocations: 7.141 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.1422, allocations: 5.359 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.1423, allocations: 28.31 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1423, allocations: 1.438 kB / 305.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.377e-05/0.1423, allocations: 69.84 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1424, allocations: 5.469 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1424, allocations: 3.906 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1424, allocations: 2.938 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.1424, allocations: 17.97 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.1424, allocations: 4.5 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.1425, allocations: 4.812 kB / 305.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1425, allocations: 5.031 kB / 305.3 MB, free: 17.55 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 (7): * Single equations (assignments): 7 * 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.963e-05/0.1425, allocations: 115 kB / 305.4 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.1426, allocations: 26.64 kB / 305.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.1427, allocations: 95.48 kB / 305.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1427, allocations: 2.219 kB / 305.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1427, allocations: 0 / 305.5 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1427, allocations: 3.516 kB / 305.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1429, allocations: 281.9 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1429, allocations: 3.094 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.143, allocations: 16.16 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.143, allocations: 1.094 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.143, allocations: 0.6094 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.143, allocations: 1.531 kB / 305.8 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.143, allocations: 5.266 kB / 305.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.143, allocations: 176.6 kB / 306 MB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.1431, allocations: 35.66 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1431, allocations: 3.375 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.1431, allocations: 6.203 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.1432, allocations: 9.828 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1432, allocations: 1.906 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.1434, allocations: 279.4 kB / 306.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1434, allocations: 0 / 306.4 MB, free: 17.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.1435, allocations: 27.78 kB / 306.4 MB, free: 17.01 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 (7): * Single equations (assignments): 7 * 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.001009/0.1445, allocations: 0.4909 MB / 306.9 MB, free: 16.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.066e-05/0.1446, allocations: 35.77 kB / 306.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.1446, allocations: 4.844 kB / 306.9 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.41e-05/0.1447, allocations: 24.67 kB / 306.9 MB, free: 16.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.1449, allocations: 37.19 kB / 307 MB, free: 16.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/0.1455, allocations: 0.5755 MB / 307.5 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.496e-05/0.1456, allocations: 119.1 kB / 307.7 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.1456, allocations: 11.44 kB / 307.7 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.1457, allocations: 58.28 kB / 307.7 MB, free: 16.27 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1457, allocations: 1.531 kB / 307.7 MB, free: 16.27 MB / 282.7 MB Notification: Performance of Templates: time 0.004073/0.1497, allocations: 1.527 MB / 309.3 MB, free: 16.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.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.0896522901020944]