Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001471/0.001471, allocations: 192 kB / 18.56 MB, free: 4.434 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.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.2005/0.2005, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.09 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1307, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004309/0.1351, allocations: 2.032 MB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1368, allocations: 1.041 MB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.1369, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.1372, allocations: 43.58 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.1376, allocations: 155.3 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009002/0.1385, allocations: 430.1 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.1389, allocations: 283.1 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.1391, allocations: 76.61 kB / 473.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1394, allocations: 119.5 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1397, allocations: 199.2 kB / 473.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.1397, allocations: 16 kB / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1399, allocations: 59.98 kB / 473.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.14, allocations: 143.5 kB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1402, allocations: 158.7 kB / 474 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.1406, allocations: 370.9 kB / 474.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1407, allocations: 0 / 474.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1407, allocations: 0 / 474.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1407, allocations: 0 / 474.3 MB, free: 9.266 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001184/0.1419, allocations: 0.7659 MB / 475.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1419, allocations: 15.97 kB / 475.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.142, allocations: 52.28 kB / 475.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.1426, allocations: 443.7 kB / 475.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1427, allocations: 8.375 kB / 475.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.1427, allocations: 16.12 kB / 475.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.1431, allocations: 136.9 kB / 475.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1431, allocations: 12 kB / 475.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.1431, allocations: 0 / 475.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1431, allocations: 0 / 475.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.1434, allocations: 103.9 kB / 475.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.1444, allocations: 0.6683 MB / 476.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.1446, allocations: 121.2 kB / 476.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.1448, allocations: 61.81 kB / 476.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.1448, allocations: 3.984 kB / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.1449, allocations: 42.56 kB / 476.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1449, allocations: 0 / 476.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002013/0.1469, allocations: 0.6698 MB / 477.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.1471, allocations: 77.11 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009922/0.1481, allocations: 0.8466 MB / 478.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1481, allocations: 29.89 kB / 478.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1483, allocations: 252.3 kB / 478.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.1484, allocations: 71.02 kB / 478.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.1485, allocations: 33.7 kB / 478.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.1487, allocations: 374.7 kB / 479.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.149, allocations: 91.94 kB / 479.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.1493, allocations: 105.6 kB / 479.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005022/0.1498, allocations: 209.5 kB / 479.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1498, allocations: 0 / 479.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006791/0.1505, allocations: 300.8 kB / 479.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1506, allocations: 8 kB / 479.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1506, allocations: 0 / 479.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1506, allocations: 4.188 kB / 479.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.1509, allocations: 47.95 kB / 479.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1509, allocations: 3.938 kB / 479.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1511, allocations: 27.88 kB / 479.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1511, allocations: 8 kB / 479.9 MB, free: 3.438 MB / 350.1 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 0.0002406/0.1513, allocations: 217.7 kB / 480.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.561e-05/0.1514, allocations: 51.34 kB / 480.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.1522, allocations: 346.5 kB / 480.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1522, allocations: 4 kB / 480.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1522, allocations: 4 kB / 480.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1523, allocations: 3.984 kB / 480.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1535, allocations: 0.8683 MB / 481.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1536, allocations: 0 / 481.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.1538, allocations: 51.89 kB / 481.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.1538, allocations: 4 kB / 481.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1538, allocations: 7.984 kB / 481.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1539, allocations: 7.938 kB / 481.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1539, allocations: 3.938 kB / 481.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.1546, allocations: 476.7 kB / 481.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.1548, allocations: 132.5 kB / 482 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.1548, allocations: 11.94 kB / 482.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1551, allocations: 19.92 kB / 482.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.282e-05/0.1552, allocations: 23.97 kB / 482.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1552, allocations: 7.984 kB / 482.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007143/0.1559, allocations: 0.6159 MB / 482.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1559, allocations: 0 / 482.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.1563, allocations: 63.89 kB / 482.8 MB, free: 452 kB / 350.1 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.001065/0.1574, allocations: 394.6 kB / 483.2 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.1581, allocations: 231.7 kB / 483.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1581, allocations: 0 / 483.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.1584, allocations: 131.8 kB / 483.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.159, allocations: 84.05 kB / 483.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1605, allocations: 0.9118 MB / 484.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.1613, allocations: 0.8575 MB / 485.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.1615, allocations: 78.91 kB / 485.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1616, allocations: 43.36 kB / 485.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1616, allocations: 3.938 kB / 485.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Templates: time 0.009681/0.1713, allocations: 4.265 MB / 489.8 MB, free: 9.582 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches