Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.00134/0.00134, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001418/0.001418, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2349/0.2349, allocations: 46.92 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 72.12 kB / 0.4909 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1314, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.00341/0.1349, allocations: 1.895 MB / 0.5572 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1361, allocations: 0.7015 MB / 0.5579 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.1362, allocations: 4 kB / 0.5579 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.1366, allocations: 175.4 kB / 0.5581 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.137, allocations: 179.2 kB / 0.5583 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.1377, allocations: 326.4 kB / 0.5586 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.1381, allocations: 235.4 kB / 0.5588 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1382, allocations: 49.66 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1383, allocations: 99.66 kB / 0.5589 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1386, allocations: 163.5 kB / 0.5591 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.1386, allocations: 12 kB / 0.5591 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-05/0.1387, allocations: 36 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1388, allocations: 119.6 kB / 0.5593 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.1389, allocations: 131 kB / 0.5594 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.1393, allocations: 306.5 kB / 0.5597 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1393, allocations: 0 / 0.5597 GB, free: 1.461 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1393, allocations: 0 / 0.5597 GB, free: 1.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1393, allocations: 0 / 0.5597 GB, free: 1.461 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001097/0.1404, allocations: 0.6882 MB / 0.5603 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1405, allocations: 8.031 kB / 0.5604 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.1405, allocations: 46.69 kB / 0.5604 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.265e-05/0.1406, allocations: 40.7 kB / 0.5604 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.1411, allocations: 370.5 kB / 0.5608 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1411, allocations: 8.375 kB / 0.5608 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.1411, allocations: 12.38 kB / 0.5608 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.1416, allocations: 179.1 kB / 0.561 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1416, allocations: 4 kB / 0.561 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.1416, allocations: 7.984 kB / 0.561 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1416, allocations: 4 kB / 0.561 GB, free: 0 / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.1422, allocations: 151.8 kB / 0.5611 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.1433, allocations: 0.6528 MB / 0.5618 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.1437, allocations: 149.1 kB / 0.5619 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.144, allocations: 77.77 kB / 0.562 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.144, allocations: 4 kB / 0.562 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.144, allocations: 38.5 kB / 0.562 GB, free: 14.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1441, allocations: 0 / 0.562 GB, free: 14.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002906/0.147, allocations: 0.8002 MB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.147, allocations: 81.11 kB / 0.5629 GB, free: 13.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007559/0.1478, allocations: 0.6033 MB / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1478, allocations: 25.7 kB / 0.5635 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.148, allocations: 200.5 kB / 0.5637 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.1481, allocations: 63.75 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.1481, allocations: 41.64 kB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1483, allocations: 358.7 kB / 0.5641 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.1488, allocations: 131.9 kB / 0.5643 GB, free: 12.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.1493, allocations: 157.6 kB / 0.5644 GB, free: 12.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/0.1503, allocations: 294.1 kB / 0.5647 GB, free: 12.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1503, allocations: 3.938 kB / 0.5647 GB, free: 12.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001154/0.1515, allocations: 373.1 kB / 0.5651 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1515, allocations: 8 kB / 0.5651 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1515, allocations: 160 / 0.5651 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1515, allocations: 0 / 0.5651 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.1519, allocations: 67.88 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1519, allocations: 3.984 kB / 0.5651 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.1521, allocations: 47.94 kB / 0.5652 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1522, allocations: 4 kB / 0.5652 GB, free: 11.53 MB / 430.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 (18): * Single equations (assignments): 18 * 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.0002181/0.1524, allocations: 189.7 kB / 0.5654 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.1525, allocations: 35.77 kB / 0.5654 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.1538, allocations: 428.4 kB / 0.5658 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1538, allocations: 4 kB / 0.5658 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.1538, allocations: 0 / 0.5658 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1538, allocations: 0 / 0.5658 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.1558, allocations: 0.9191 MB / 0.5667 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1558, allocations: 0 / 0.5667 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.1561, allocations: 67.94 kB / 0.5668 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1561, allocations: 0 / 0.5668 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1561, allocations: 4 kB / 0.5668 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1561, allocations: 0 / 0.5668 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1562, allocations: 3.938 kB / 0.5668 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.1574, allocations: 0.5355 MB / 0.5673 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.1575, allocations: 132.8 kB / 0.5674 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.1576, allocations: 7.938 kB / 0.5674 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.1579, allocations: 39.94 kB / 0.5675 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.1579, allocations: 19.92 kB / 0.5675 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.158, allocations: 8 kB / 0.5675 GB, free: 9.051 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005297/0.1585, allocations: 451 kB / 0.5679 GB, free: 8.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1585, allocations: 0 / 0.5679 GB, free: 8.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.1589, allocations: 55.94 kB / 0.568 GB, free: 8.559 MB / 430.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 (18): * Single equations (assignments): 18 * 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.003019/0.1619, allocations: 1.37 MB / 0.5693 GB, free: 7.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.163, allocations: 299.7 kB / 0.5696 GB, free: 7.031 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.163, allocations: 4 kB / 0.5696 GB, free: 7.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.1636, allocations: 163.7 kB / 0.5698 GB, free: 6.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.1642, allocations: 56.67 kB / 0.5698 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007859/0.1721, allocations: 4.328 MB / 0.574 GB, free: 2.387 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.1727, allocations: 0.8185 MB / 0.5748 GB, free: 1.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.173, allocations: 78.53 kB / 0.5749 GB, free: 1.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.1733, allocations: 115.4 kB / 0.575 GB, free: 1.355 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1733, allocations: 3.938 kB / 0.575 GB, free: 1.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.2065, allocations: 7.951 MB / 0.5828 GB, free: 9.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/8.77, allocations: 12.92 kB / 0.5828 GB, free: 9.473 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.185279400087893]