Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005665/0.005665, allocations: 103.4 kB / 21.97 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 220.3 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 230.5 MB / 258.9 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2455/0.2455, allocations: 46.93 MB / 362.3 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002598/0.002598, allocations: 84.08 kB / 0.4982 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3473, allocations: 66.08 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.00354/0.3508, allocations: 1.89 MB / 0.5646 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3522, allocations: 0.733 MB / 0.5653 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.611e-05/0.3523, allocations: 0 / 0.5653 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.3528, allocations: 179.5 kB / 0.5655 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.3532, allocations: 171.3 kB / 0.5656 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.3539, allocations: 333.5 kB / 0.566 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.3542, allocations: 235.4 kB / 0.5662 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3544, allocations: 40.45 kB / 0.5662 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.3545, allocations: 107.6 kB / 0.5663 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.3548, allocations: 163.5 kB / 0.5665 GB, free: 424 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.3548, allocations: 16 kB / 0.5665 GB, free: 408 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.3549, allocations: 36 kB / 0.5665 GB, free: 372 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.3551, allocations: 111.6 kB / 0.5666 GB, free: 260 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.3552, allocations: 127 kB / 0.5668 GB, free: 132 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.3556, allocations: 298.4 kB / 0.567 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3556, allocations: 0 / 0.567 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3556, allocations: 4 kB / 0.5671 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3556, allocations: 0 / 0.5671 GB, free: 15.83 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.001068/0.3567, allocations: 0.5936 MB / 0.5676 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3567, allocations: 12.03 kB / 0.5676 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.3568, allocations: 40.66 kB / 0.5677 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.3572, allocations: 304.6 kB / 0.568 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3572, allocations: 8.375 kB / 0.568 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.3573, allocations: 12.38 kB / 0.568 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.3577, allocations: 171.8 kB / 0.5682 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.3577, allocations: 4.125 kB / 0.5682 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3577, allocations: 7.938 kB / 0.5682 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3578, allocations: 4 kB / 0.5682 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004911/0.3582, allocations: 147.8 kB / 0.5683 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3593, allocations: 0.6128 MB / 0.5689 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.3598, allocations: 161 kB / 0.5691 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.36, allocations: 73.78 kB / 0.5691 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.36, allocations: 3.984 kB / 0.5691 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3601, allocations: 38.56 kB / 0.5692 GB, free: 13.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.3601, allocations: 0 / 0.5692 GB, free: 13.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002665/0.3627, allocations: 0.7969 MB / 0.57 GB, free: 12.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.3628, allocations: 77.11 kB / 0.57 GB, free: 12.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.3635, allocations: 0.5877 MB / 0.5706 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.3635, allocations: 33.69 kB / 0.5706 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.3637, allocations: 192.4 kB / 0.5708 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.3638, allocations: 67.44 kB / 0.5709 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.3638, allocations: 37.7 kB / 0.5709 GB, free: 11.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.364, allocations: 354.8 kB / 0.5713 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.3645, allocations: 131.9 kB / 0.5714 GB, free: 11.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/0.3649, allocations: 153.8 kB / 0.5715 GB, free: 11.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.3658, allocations: 297.4 kB / 0.5718 GB, free: 10.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3658, allocations: 7.938 kB / 0.5718 GB, free: 10.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009994/0.3668, allocations: 365.1 kB / 0.5722 GB, free: 10.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3668, allocations: 4 kB / 0.5722 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3668, allocations: 4 kB / 0.5722 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3668, allocations: 3.984 kB / 0.5722 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.3671, allocations: 63.94 kB / 0.5722 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3671, allocations: 192 / 0.5722 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.3674, allocations: 35.95 kB / 0.5723 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.3674, allocations: 11.92 kB / 0.5723 GB, free: 10.23 MB / 414.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.0001989/0.3676, allocations: 189.7 kB / 0.5725 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.3677, allocations: 43.66 kB / 0.5725 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.3688, allocations: 420.7 kB / 0.5729 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3688, allocations: 4 kB / 0.5729 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3688, allocations: 0 / 0.5729 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3688, allocations: 0 / 0.5729 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.3705, allocations: 0.8752 MB / 0.5738 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3705, allocations: 0 / 0.5738 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.3708, allocations: 71.86 kB / 0.5738 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3708, allocations: 4 kB / 0.5738 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.3708, allocations: 4 kB / 0.5738 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3708, allocations: 4 kB / 0.5738 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3708, allocations: 0 / 0.5738 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3719, allocations: 0.5397 MB / 0.5744 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/0.372, allocations: 43.75 kB / 0.5744 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.3721, allocations: 0 / 0.5744 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.3723, allocations: 35.95 kB / 0.5744 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.3724, allocations: 27.89 kB / 0.5745 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3724, allocations: 8 kB / 0.5745 GB, free: 7.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005022/0.3729, allocations: 443 kB / 0.5749 GB, free: 7.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3729, allocations: 4 kB / 0.5749 GB, free: 7.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.3733, allocations: 51.98 kB / 0.575 GB, free: 7.418 MB / 414.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.001502/0.3748, allocations: 404.3 kB / 0.5753 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009909/0.3758, allocations: 303.6 kB / 0.5756 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3758, allocations: 0 / 0.5756 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.3763, allocations: 167.9 kB / 0.5758 GB, free: 6.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005481/0.3768, allocations: 50.64 kB / 0.5758 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.378, allocations: 0.7272 MB / 0.5766 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.3786, allocations: 0.8143 MB / 0.5773 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3787, allocations: 31.44 kB / 0.5774 GB, free: 5.008 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3787, allocations: 0 / 0.5774 GB, free: 5.008 MB / 414.1 MB Notification: Performance of Templates: time 0.008065/0.3867, allocations: 4.7 MB / 0.582 GB, free: 332 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.139756571035832]