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.001295/0.001295, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.000915/0.000915, allocations: 172.2 kB / 25.61 MB, free: 8.883 MB / 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 0.9369/0.9369, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.1332/0.1332, allocations: 34.26 MB / 296.8 MB, free: 13.94 MB / 282.7 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.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 1.353e-06/1.353e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.344e-05, allocations: 5.406 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.00558/0.005603, allocations: 1.99 MB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.006617, allocations: 0.7943 MB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.014e-05/0.006707, allocations: 0 / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.007095, allocations: 175.3 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003728/0.007468, allocations: 234.9 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.01114, allocations: 403.1 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.01145, allocations: 307 kB / 383.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.01159, allocations: 44.89 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.01174, allocations: 155.5 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.01191, allocations: 163.6 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.01193, allocations: 16 kB / 383.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.01201, allocations: 43.92 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.01213, allocations: 167.5 kB / 383.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.01221, allocations: 99.56 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.01249, allocations: 334.6 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.01249, allocations: 0 / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01249, allocations: 0 / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.0125, allocations: 3.938 kB / 384.2 MB, free: 18.5 MB / 314.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.0006682/0.01316, allocations: 0.8676 MB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.0132, allocations: 8.031 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.01327, allocations: 72.52 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.01355, allocations: 357.2 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.01356, allocations: 8.375 kB / 385.5 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00303/0.01659, allocations: 8.375 kB / 385.5 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.01679, allocations: 133.3 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.0168, allocations: 8.109 kB / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.01681, allocations: 4.125 kB / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01682, allocations: 8 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.864e-05/0.01688, allocations: 27.97 kB / 385.7 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.01738, allocations: 0.5886 MB / 386.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.0175, allocations: 94.14 kB / 386.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.572e-05/0.01753, allocations: 31.36 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.01755, allocations: 4 kB / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.01757, allocations: 37.52 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.01757, allocations: 0 / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006967/0.01827, allocations: 320.7 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.01829, allocations: 81.11 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.01875, allocations: 0.7102 MB / 387.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.01877, allocations: 25.7 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.01892, allocations: 359.1 kB / 387.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.01896, allocations: 63.42 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.01901, allocations: 39.36 kB / 388 MB, free: 14.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.01905, allocations: 492.4 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.01909, allocations: 15.98 kB / 388.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.01915, allocations: 58.36 kB / 388.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.325e-05/0.01924, allocations: 75.45 kB / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01924, allocations: 4 kB / 388.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002016/0.01945, allocations: 165.2 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01946, allocations: 7.984 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003009/0.02247, allocations: 3.938 kB / 388.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.02248, allocations: 7.938 kB / 388.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.02264, allocations: 47.97 kB / 388.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.02265, allocations: 0 / 388.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.02275, allocations: 23.98 kB / 388.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.02276, allocations: 7.984 kB / 388.9 MB, free: 13.55 MB / 314.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 7.933e-05/0.02284, allocations: 168.7 kB / 389.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.02292, allocations: 71.58 kB / 389.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.02318, allocations: 190.7 kB / 389.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.02318, allocations: 7.938 kB / 389.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.02318, allocations: 0 / 389.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.02318, allocations: 3.984 kB / 389.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.02376, allocations: 0.6648 MB / 390 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02376, allocations: 4 kB / 390 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.0239, allocations: 43.97 kB / 390 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.0239, allocations: 3.938 kB / 390 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.02391, allocations: 7.984 kB / 390 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.02391, allocations: 0 / 390 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.02391, allocations: 3.938 kB / 390.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.02413, allocations: 442.6 kB / 390.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.02419, allocations: 59.53 kB / 390.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.02423, allocations: 4 kB / 390.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.02439, allocations: 23.98 kB / 390.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.02445, allocations: 19.97 kB / 390.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.02446, allocations: 7.984 kB / 390.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002666/0.02472, allocations: 450.8 kB / 391 MB, free: 11.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.02473, allocations: 0 / 391 MB, free: 11.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003253/0.02505, allocations: 64 kB / 391.1 MB, free: 11.27 MB / 314.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.002043/0.02709, allocations: 392.8 kB / 391.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.02723, allocations: 79.52 kB / 391.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02723, allocations: 3.938 kB / 391.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/0.02728, allocations: 57.61 kB / 391.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.02766, allocations: 97.59 kB / 391.7 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.0283, allocations: 0.8317 MB / 392.5 MB, free: 9.906 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.111e-05/0.02837, allocations: 145.2 kB / 392.7 MB, free: 9.746 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.715e-05/0.02847, allocations: 71.22 kB / 392.8 MB, free: 9.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.0286, allocations: 138.2 kB / 392.9 MB, free: 9.543 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.0286, allocations: 0 / 392.9 MB, free: 9.543 MB / 314.7 MB Notification: Performance of Templates: time 0.007067/0.03567, allocations: 6.017 MB / 398.9 MB, free: 3.59 MB / 314.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.063055331353098]