Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.001311, allocations: 111.6 kB / 17.04 MB, free: 5.816 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.001222/0.001221, allocations: 195 kB / 17.98 MB, free: 5.027 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.737/1.737, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2353/0.2353, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 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.001907/0.001908, allocations: 70.08 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1348, allocations: 57.78 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.00322/0.138, allocations: 1.562 MB / 443.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005876/0.1387, allocations: 307.6 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.1387, allocations: 11.94 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.1393, allocations: 439.2 kB / 444.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.1396, allocations: 251.4 kB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.14, allocations: 111.7 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1402, allocations: 155.6 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1403, allocations: 12 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1404, allocations: 107.8 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.1406, allocations: 203.7 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.1407, allocations: 7.938 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.1407, allocations: 19.94 kB / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1408, allocations: 75.75 kB / 445.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.184e-05/0.1409, allocations: 103 kB / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1412, allocations: 243 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.1412, allocations: 4 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1412, allocations: 0 / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.1412, allocations: 0 / 445.5 MB, free: 2.574 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.0006438/0.1419, allocations: 0.6219 MB / 446.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1419, allocations: 11.89 kB / 446.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.142, allocations: 40.47 kB / 446.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.1422, allocations: 300.1 kB / 446.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1423, allocations: 384 / 446.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.1423, allocations: 384 / 446.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1424, allocations: 53.81 kB / 446.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1424, allocations: 0 / 446.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1425, allocations: 0 / 446.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1425, allocations: 0 / 446.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.809e-05/0.1425, allocations: 23.98 kB / 446.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.143, allocations: 368.8 kB / 446.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.902e-05/0.1431, allocations: 30.56 kB / 447 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.1431, allocations: 16.91 kB / 447 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.1432, allocations: 4 kB / 447 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.1432, allocations: 34.56 kB / 447 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1432, allocations: 0 / 447 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002518/0.1435, allocations: 97.06 kB / 447.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1435, allocations: 51.41 kB / 447.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.1442, allocations: 0.8574 MB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1442, allocations: 25.7 kB / 448.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1444, allocations: 216.2 kB / 448.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1444, allocations: 11.91 kB / 448.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1445, allocations: 21.64 kB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1447, allocations: 358.7 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.248e-05/0.1447, allocations: 16 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.1448, allocations: 11.92 kB / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.1448, allocations: 24.84 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1449, allocations: 4.062 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001434/0.145, allocations: 93.06 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.145, allocations: 5.25 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.145, allocations: 0 / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1451, allocations: 0 / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.1451, allocations: 4 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1452, allocations: 4 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.1452, allocations: 7.922 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1452, allocations: 0 / 448.8 MB, free: 15.07 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 (2): * Single equations (assignments): 2 * 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.0001926/0.1454, allocations: 217.7 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.1455, allocations: 39.53 kB / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.1457, allocations: 104.6 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1457, allocations: 3.984 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1457, allocations: 0 / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1457, allocations: 0 / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.146, allocations: 277.5 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.146, allocations: 4 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.146, allocations: 12.02 kB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.146, allocations: 0 / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1461, allocations: 0 / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1461, allocations: 0 / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1461, allocations: 0 / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.1463, allocations: 186.9 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.1464, allocations: 104.6 kB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1464, allocations: 12.02 kB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.1465, allocations: 3.984 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.1465, allocations: 0 / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1465, allocations: 4 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006106/0.1471, allocations: 0.6472 MB / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1471, allocations: 0 / 450.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1474, allocations: 19.98 kB / 450.4 MB, free: 13.36 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 (2): * Single equations (assignments): 2 * 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.0008828/0.1483, allocations: 351.4 kB / 450.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1485, allocations: 23.98 kB / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1485, allocations: 0 / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.1485, allocations: 12.05 kB / 450.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.149, allocations: 29.89 kB / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.15, allocations: 0.7594 MB / 451.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.1505, allocations: 0.8182 MB / 452.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.699e-05/0.1505, allocations: 3.984 kB / 452.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.1506, allocations: 11.44 kB / 452.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1506, allocations: 0 / 452.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Templates: time 0.004737/0.1553, allocations: 1.252 MB / 453.7 MB, free: 10.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches