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.001638/0.001638, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001706/0.001706, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.225/0.225, allocations: 46.93 MB / 357.8 MB, free: 10.29 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: translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 59.91 kB / 0.4921 GB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1386, allocations: 66 MB / 0.5565 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004198/0.1428, allocations: 1.879 MB / 0.5584 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1443, allocations: 0.717 MB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1445, allocations: 4 kB / 0.5591 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005619/0.145, allocations: 163.5 kB / 0.5592 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000575/0.1456, allocations: 179.3 kB / 0.5594 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008745/0.1465, allocations: 326.6 kB / 0.5597 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.1469, allocations: 239.4 kB / 0.5599 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.1471, allocations: 53.58 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1473, allocations: 103.6 kB / 0.5601 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.1476, allocations: 159.5 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.1476, allocations: 12 kB / 0.5602 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1477, allocations: 43.98 kB / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.1479, allocations: 111.6 kB / 0.5604 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.148, allocations: 127 kB / 0.5605 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.1485, allocations: 298.5 kB / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1485, allocations: 0 / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1485, allocations: 0 / 0.5608 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1485, allocations: 0 / 0.5608 GB, free: 0.8945 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.00107/0.1495, allocations: 0.6636 MB / 0.5614 GB, free: 188 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1496, allocations: 12.03 kB / 0.5615 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.1497, allocations: 40.66 kB / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.1502, allocations: 374.4 kB / 0.5619 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1502, allocations: 8.375 kB / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.1502, allocations: 12.38 kB / 0.5619 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.1507, allocations: 175.3 kB / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.1507, allocations: 0 / 0.562 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1507, allocations: 4 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1507, allocations: 4 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.1513, allocations: 143.8 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1523, allocations: 0.645 MB / 0.5628 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.1528, allocations: 153.1 kB / 0.563 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.153, allocations: 81.77 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.1531, allocations: 4 kB / 0.563 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1531, allocations: 34.56 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1531, allocations: 4 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002794/0.1559, allocations: 0.7963 MB / 0.5639 GB, free: 13.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.156, allocations: 85.03 kB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/0.1567, allocations: 0.5839 MB / 0.5645 GB, free: 12.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1567, allocations: 25.7 kB / 0.5645 GB, free: 12.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.1569, allocations: 200.4 kB / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.1569, allocations: 59.44 kB / 0.5648 GB, free: 12.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.157, allocations: 41.7 kB / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1572, allocations: 350.8 kB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.1577, allocations: 132.1 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.1582, allocations: 154.3 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000964/0.1591, allocations: 309.4 kB / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1591, allocations: 0 / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001103/0.1603, allocations: 369 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1603, allocations: 6.031 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1603, allocations: 0 / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.1603, allocations: 4 kB / 0.5661 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.1606, allocations: 71.94 kB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1607, allocations: 160 / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.1609, allocations: 35.94 kB / 0.5662 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.1609, allocations: 15.92 kB / 0.5662 GB, free: 11.09 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.0002348/0.1611, allocations: 191.9 kB / 0.5664 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.1612, allocations: 43.72 kB / 0.5664 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.1625, allocations: 412.6 kB / 0.5668 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.1625, allocations: 4 kB / 0.5668 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1625, allocations: 0 / 0.5668 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1625, allocations: 0 / 0.5668 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.1643, allocations: 0.9153 MB / 0.5677 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1643, allocations: 96 / 0.5677 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.1646, allocations: 75.81 kB / 0.5678 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1646, allocations: 0 / 0.5678 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1646, allocations: 0 / 0.5678 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1646, allocations: 4 kB / 0.5678 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1646, allocations: 0 / 0.5678 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1658, allocations: 0.5372 MB / 0.5683 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1659, allocations: 116.9 kB / 0.5684 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.1659, allocations: 11.94 kB / 0.5684 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.1662, allocations: 35.94 kB / 0.5685 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.1663, allocations: 27.91 kB / 0.5685 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1663, allocations: 7.938 kB / 0.5685 GB, free: 8.617 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004871/0.1668, allocations: 439.1 kB / 0.5689 GB, free: 8.191 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1668, allocations: 0 / 0.5689 GB, free: 8.191 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.1671, allocations: 51.98 kB / 0.569 GB, free: 8.141 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.001531/0.1687, allocations: 411 kB / 0.5694 GB, free: 7.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1697, allocations: 299.7 kB / 0.5697 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1697, allocations: 0 / 0.5697 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.1703, allocations: 163.7 kB / 0.5698 GB, free: 7.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.1708, allocations: 48.52 kB / 0.5699 GB, free: 7.398 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1721, allocations: 0.7388 MB / 0.5706 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.1726, allocations: 0.8104 MB / 0.5714 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.1727, allocations: 31.44 kB / 0.5714 GB, free: 5.754 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1727, allocations: 0 / 0.5714 GB, free: 5.754 MB / 430.1 MB Notification: Performance of Templates: time 0.007875/0.1806, allocations: 4.698 MB / 0.576 GB, free: 1.078 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] 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: 8.081256518984446]