Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001306/0.001306, allocations: 184.1 kB / 19.32 MB, free: 3.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2554/0.2554, allocations: 44.19 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 66.23 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002954/0.131, allocations: 1.954 MB / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1325, allocations: 0.9742 MB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.1326, allocations: 4 kB / 473.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.133, allocations: 259.2 kB / 473.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.1333, allocations: 187.3 kB / 474.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1345, allocations: 0.6601 MB / 474.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.1348, allocations: 303.2 kB / 475 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.135, allocations: 76.56 kB / 475.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1351, allocations: 135.5 kB / 475.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.1353, allocations: 203.3 kB / 475.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.1353, allocations: 8 kB / 475.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1354, allocations: 67.97 kB / 475.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1356, allocations: 95.67 kB / 475.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.1357, allocations: 115 kB / 475.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.136, allocations: 310.8 kB / 476 MB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.136, allocations: 0 / 476 MB, free: 8.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.136, allocations: 0 / 476 MB, free: 8.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.136, allocations: 0 / 476 MB, free: 8.348 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005929/0.1366, allocations: 0.6223 MB / 476.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1366, allocations: 12.03 kB / 476.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.1367, allocations: 40.47 kB / 476.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.137, allocations: 306.2 kB / 477 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.137, allocations: 12.31 kB / 477 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1371, allocations: 12.38 kB / 477 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.1373, allocations: 125.8 kB / 477.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1373, allocations: 0 / 477.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1373, allocations: 4 kB / 477.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1373, allocations: 8 kB / 477.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.1375, allocations: 91.86 kB / 477.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.1381, allocations: 0.4924 MB / 477.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1383, allocations: 118.3 kB / 477.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.1383, allocations: 40.84 kB / 477.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1384, allocations: 4 kB / 477.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.1384, allocations: 34.56 kB / 477.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.1384, allocations: 0 / 477.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008278/0.1392, allocations: 428.1 kB / 478.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1393, allocations: 59.34 kB / 478.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.1397, allocations: 0.5289 MB / 478.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1398, allocations: 29.7 kB / 479 MB, free: 5.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1399, allocations: 200.3 kB / 479.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.14, allocations: 59.09 kB / 479.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.14, allocations: 29.72 kB / 479.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1401, allocations: 350.8 kB / 479.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1403, allocations: 67.95 kB / 479.6 MB, free: 4.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.1404, allocations: 74.61 kB / 479.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.1406, allocations: 148.8 kB / 479.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1406, allocations: 3.938 kB / 479.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003203/0.1409, allocations: 235.6 kB / 480.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.141, allocations: 4 kB / 480.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.141, allocations: 0 / 480.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.141, allocations: 0 / 480.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1411, allocations: 43.97 kB / 480.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1411, allocations: 0 / 480.1 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.1412, allocations: 8 kB / 480.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.1412, allocations: 4 kB / 480.2 MB, free: 3.98 MB / 350.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 (17): * Single equations (assignments): 17 * 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.0001402/0.1414, allocations: 189.7 kB / 480.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.1414, allocations: 39.52 kB / 480.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/0.1419, allocations: 265.3 kB / 480.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1419, allocations: 7.984 kB / 480.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1419, allocations: 0 / 480.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1419, allocations: 0 / 480.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.1426, allocations: 0.6659 MB / 481.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1426, allocations: 0 / 481.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.762e-05/0.1427, allocations: 35.92 kB / 481.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1428, allocations: 0 / 481.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1428, allocations: 4 kB / 481.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1428, allocations: 8 kB / 481.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1428, allocations: 3.938 kB / 481.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.1431, allocations: 325.2 kB / 481.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.1432, allocations: 104.6 kB / 481.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.1432, allocations: 0 / 481.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.1433, allocations: 8 kB / 481.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1434, allocations: 23.86 kB / 481.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1434, allocations: 7.984 kB / 481.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003271/0.1437, allocations: 395.1 kB / 482.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.1437, allocations: 0 / 482.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.144, allocations: 55.92 kB / 482.3 MB, free: 1.762 MB / 350.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 (17): * Single equations (assignments): 17 * 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.001444/0.1455, allocations: 0.6898 MB / 483 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.1458, allocations: 171.8 kB / 483.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1458, allocations: 0 / 483.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1459, allocations: 91.89 kB / 483.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/0.1464, allocations: 75.62 kB / 483.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008427/0.1473, allocations: 0.6824 MB / 484 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1476, allocations: 0.8143 MB / 484.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.1477, allocations: 53.89 kB / 484.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.1478, allocations: 31.42 kB / 484.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1478, allocations: 0 / 484.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.1377/0.2855, allocations: 3.265 MB / 488.1 MB, free: 12.19 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches