Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 97.5 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2484/0.2484, allocations: 43.52 MB / 313.9 MB, free: 0.5117 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 70.66 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1344, allocations: 57.8 MB / 440.5 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.003819/0.1382, allocations: 1.554 MB / 442.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006144/0.1389, allocations: 311.5 kB / 442.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.139, allocations: 0 / 442.4 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000497/0.1395, allocations: 459.2 kB / 442.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.1398, allocations: 243.5 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1401, allocations: 111.6 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1403, allocations: 151.8 kB / 443.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1404, allocations: 19.97 kB / 443.3 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.1405, allocations: 107.7 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.1407, allocations: 211.6 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1407, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-05/0.1408, allocations: 27.98 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.1409, allocations: 79.69 kB / 443.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.141, allocations: 103 kB / 443.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1412, allocations: 243.2 kB / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1412, allocations: 0 / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1412, allocations: 0 / 444.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1412, allocations: 0 / 444.1 MB, free: 3.27 MB / 318.1 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.0005665/0.1418, allocations: 0.6219 MB / 444.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1418, allocations: 19.89 kB / 444.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.1419, allocations: 40.45 kB / 444.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1421, allocations: 292.2 kB / 445.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1421, allocations: 4.375 kB / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.1421, allocations: 384 / 445.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1423, allocations: 57.8 kB / 445.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1423, allocations: 0 / 445.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1423, allocations: 0 / 445.1 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1423, allocations: 8 kB / 445.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1424, allocations: 35.91 kB / 445.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.1428, allocations: 372.7 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1429, allocations: 38.66 kB / 445.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.938e-05/0.143, allocations: 28.78 kB / 445.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.143, allocations: 3.984 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.143, allocations: 34.56 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.143, allocations: 0 / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000286/0.1433, allocations: 113.1 kB / 445.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.1434, allocations: 55.41 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.1439, allocations: 0.8535 MB / 446.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.1439, allocations: 25.7 kB / 446.7 MB, free: 500 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.144, allocations: 212.1 kB / 446.9 MB, free: 284 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.1441, allocations: 11.75 kB / 446.9 MB, free: 272 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.1441, allocations: 17.72 kB / 446.9 MB, free: 248 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1442, allocations: 362.7 kB / 447.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.1443, allocations: 15.98 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.17e-05/0.1444, allocations: 11.98 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1445, allocations: 48.77 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1445, allocations: 0 / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001832/0.1447, allocations: 97.2 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1447, allocations: 4 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1447, allocations: 3.984 kB / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1447, allocations: 0 / 447.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.1448, allocations: 11.98 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1449, allocations: 4 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.161e-05/0.1449, allocations: 4 kB / 447.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.1449, allocations: 0 / 447.5 MB, free: 15.67 MB / 334.1 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 (3): * Single equations (assignments): 3 * 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 0.0001906/0.1451, allocations: 221.6 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.1452, allocations: 43.77 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.1454, allocations: 120.9 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1454, allocations: 0 / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1454, allocations: 4 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1455, allocations: 0 / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.1457, allocations: 289.5 kB / 448.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1457, allocations: 0 / 448.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.874e-05/0.1458, allocations: 11.98 kB / 448.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1458, allocations: 0 / 448.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1458, allocations: 0 / 448.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1458, allocations: 0 / 448.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1458, allocations: 0 / 448.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.146, allocations: 206.9 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.1461, allocations: 108.5 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1462, allocations: 4 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.1462, allocations: 4 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1463, allocations: 7.984 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1463, allocations: 3.938 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005738/0.1469, allocations: 0.6433 MB / 449.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1469, allocations: 8 kB / 449.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.1471, allocations: 12 kB / 449.1 MB, free: 13.9 MB / 334.1 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 (3): * Single equations (assignments): 3 * 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.0007937/0.1479, allocations: 352.8 kB / 449.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1481, allocations: 43.91 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1481, allocations: 0 / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.427e-05/0.1482, allocations: 19.92 kB / 449.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.1486, allocations: 29.39 kB / 449.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1497, allocations: 0.7679 MB / 450.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.1501, allocations: 0.8182 MB / 451.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.235e-05/0.1501, allocations: 4 kB / 451.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.1502, allocations: 15.42 kB / 451.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1502, allocations: 0 / 451.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of Templates: time 0.004493/0.1547, allocations: 1.315 MB / 452.5 MB, free: 10.58 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches