Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.002007/0.002007, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002022/0.002022, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.601/1.601, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.3863/0.3863, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.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.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.381e-05/4.632e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.00432/0.004366, allocations: 1.984 MB / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.006032, allocations: 0.7943 MB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.006131, allocations: 4 kB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005546/0.006686, allocations: 187.2 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005396/0.007226, allocations: 211.1 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009239/0.00815, allocations: 407 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.008603, allocations: 303.1 kB / 381.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.008764, allocations: 52.89 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.009011, allocations: 155.5 kB / 381.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.009256, allocations: 159.6 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.009306, allocations: 15.98 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.009426, allocations: 47.86 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.009649, allocations: 171.5 kB / 381.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.009788, allocations: 95.56 kB / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005703/0.01036, allocations: 398.5 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01036, allocations: 3.984 kB / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01037, allocations: 0 / 382.2 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.01037, allocations: 4 kB / 382.3 MB, free: 13.98 MB / 362.7 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.001442/0.01182, allocations: 0.8831 MB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.01186, allocations: 8.031 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.012, allocations: 72.52 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.01269, allocations: 389.2 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.01271, allocations: 12.31 kB / 383.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.01274, allocations: 12.38 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.0131, allocations: 139.9 kB / 383.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.01312, allocations: 4.188 kB / 383.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.01314, allocations: 8.125 kB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.01314, allocations: 4 kB / 383.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.0135, allocations: 107.8 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.01473, allocations: 0.7482 MB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.01508, allocations: 138.2 kB / 384.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.01526, allocations: 59.47 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.0153, allocations: 7.938 kB / 384.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.01533, allocations: 41.39 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.01533, allocations: 0 / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.002094/0.01743, allocations: 0.6753 MB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.01751, allocations: 85.03 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.01867, allocations: 0.8042 MB / 386.4 MB, free: 9.598 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.0187, allocations: 29.7 kB / 386.5 MB, free: 9.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.01909, allocations: 371.2 kB / 386.8 MB, free: 9.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.01918, allocations: 71.42 kB / 386.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.221e-05/0.01927, allocations: 39.36 kB / 386.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002707/0.01954, allocations: 492.4 kB / 387.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002979/0.01984, allocations: 91.94 kB / 387.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.02015, allocations: 107.3 kB / 387.6 MB, free: 8.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.02072, allocations: 203.3 kB / 387.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.02072, allocations: 0 / 387.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007989/0.02152, allocations: 289.2 kB / 388.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.02154, allocations: 4 kB / 388.1 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.02155, allocations: 8.156 kB / 388.1 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.02156, allocations: 0 / 388.1 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.02182, allocations: 51.89 kB / 388.1 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.02183, allocations: 3.938 kB / 388.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.02201, allocations: 23.98 kB / 388.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.02203, allocations: 8 kB / 388.2 MB, free: 7.789 MB / 362.7 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.000203/0.02224, allocations: 176.5 kB / 388.4 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.02237, allocations: 67.58 kB / 388.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000913/0.02329, allocations: 326.7 kB / 388.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.02329, allocations: 0 / 388.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.02329, allocations: 0 / 388.7 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.02331, allocations: 7.984 kB / 388.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.0251, allocations: 0.9415 MB / 389.7 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.0251, allocations: 0 / 389.7 MB, free: 6.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.02533, allocations: 59.89 kB / 389.7 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.02534, allocations: 0 / 389.7 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.02536, allocations: 4 kB / 389.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.02536, allocations: 0 / 389.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02536, allocations: 0 / 389.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.02631, allocations: 0.5555 MB / 390.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.02652, allocations: 79.55 kB / 390.4 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.02657, allocations: 0 / 390.4 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.0268, allocations: 23.97 kB / 390.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.0269, allocations: 19.97 kB / 390.4 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.02692, allocations: 8.375 kB / 390.4 MB, free: 5.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007441/0.02767, allocations: 0.5146 MB / 390.9 MB, free: 4.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02767, allocations: 4 kB / 391 MB, free: 4.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004069/0.02807, allocations: 63.89 kB / 391 MB, free: 4.879 MB / 362.7 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.002997/0.03107, allocations: 434.2 kB / 391.4 MB, free: 4.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008014/0.03187, allocations: 229.9 kB / 391.7 MB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03187, allocations: 3.938 kB / 391.7 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.03222, allocations: 115.6 kB / 391.8 MB, free: 4.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.03299, allocations: 94.88 kB / 391.9 MB, free: 4.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.03458, allocations: 0.8591 MB / 392.7 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.03492, allocations: 272.6 kB / 393 MB, free: 3.004 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.03514, allocations: 79.5 kB / 393.1 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.03527, allocations: 44.5 kB / 393.1 MB, free: 2.879 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.03527, allocations: 0 / 393.1 MB, free: 2.879 MB / 362.7 MB Notification: Performance of Templates: time 0.01287/0.04814, allocations: 5.43 MB / 398.5 MB, free: 13.5 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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: 5.1926985420286655]