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.001669/0.001669, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002172/0.002172, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.649/1.649, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2594/0.2594, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.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 0.002145/0.002145, allocations: 75.89 kB / 0.4967 GB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4245, allocations: 66.04 MB / 0.5612 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.006518/0.431, allocations: 2.039 MB / 0.5631 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.434, allocations: 0.8116 MB / 0.5639 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.4342, allocations: 4 kB / 0.5639 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.4349, allocations: 179.4 kB / 0.5641 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007869/0.4357, allocations: 215.1 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.4373, allocations: 422 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000609/0.4379, allocations: 303.1 kB / 0.565 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.4381, allocations: 52.55 kB / 0.5651 GB, free: 384 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.4383, allocations: 131.4 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.4387, allocations: 179.3 kB / 0.5654 GB, free: 72 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.4387, allocations: 12 kB / 0.5654 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.4389, allocations: 43.98 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.4391, allocations: 171.5 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.4393, allocations: 186.6 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.44, allocations: 428.4 kB / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.44, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.44, allocations: 0 / 0.5662 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.44, allocations: 0 / 0.5662 GB, free: 15.25 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.001357/0.4414, allocations: 0.7757 MB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4414, allocations: 12.02 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.4415, allocations: 72.52 kB / 0.567 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.4422, allocations: 459.2 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.4422, allocations: 4.375 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.4423, allocations: 12.31 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004141/0.4427, allocations: 155.4 kB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.4427, allocations: 4 kB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4427, allocations: 4 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4427, allocations: 4 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.4432, allocations: 131.9 kB / 0.5677 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4443, allocations: 0.6986 MB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.4447, allocations: 137.2 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.4449, allocations: 69.78 kB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.445, allocations: 7.938 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.445, allocations: 38.77 kB / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.445, allocations: 0 / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.00268/0.4477, allocations: 0.8268 MB / 0.5695 GB, free: 11.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.4477, allocations: 81.11 kB / 0.5695 GB, free: 11.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.449, allocations: 1.051 MB / 0.5706 GB, free: 10.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.4491, allocations: 25.7 kB / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.4493, allocations: 284.4 kB / 0.5709 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.4494, allocations: 63.44 kB / 0.5709 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.4495, allocations: 33.7 kB / 0.571 GB, free: 10.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4496, allocations: 310 kB / 0.5713 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.4501, allocations: 119.9 kB / 0.5714 GB, free: 9.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.4505, allocations: 141.5 kB / 0.5715 GB, free: 9.547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/0.4514, allocations: 258.2 kB / 0.5717 GB, free: 9.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4514, allocations: 0 / 0.5717 GB, free: 9.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001052/0.4524, allocations: 352.9 kB / 0.5721 GB, free: 8.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4525, allocations: 8 kB / 0.5721 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4525, allocations: 0 / 0.5721 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4525, allocations: 0 / 0.5721 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.4528, allocations: 75.86 kB / 0.5722 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4528, allocations: 4 kB / 0.5722 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.4531, allocations: 39.95 kB / 0.5722 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.4531, allocations: 4 kB / 0.5722 GB, free: 8.809 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.0002496/0.4534, allocations: 229.6 kB / 0.5724 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.4535, allocations: 63.58 kB / 0.5725 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.4546, allocations: 402.7 kB / 0.5729 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4546, allocations: 4 kB / 0.5729 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4546, allocations: 0 / 0.5729 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4546, allocations: 7.984 kB / 0.5729 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.4565, allocations: 0.9064 MB / 0.5738 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4565, allocations: 4 kB / 0.5738 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.4568, allocations: 59.92 kB / 0.5738 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4568, allocations: 11.94 kB / 0.5738 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.4569, allocations: 4 kB / 0.5738 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.4569, allocations: 7.938 kB / 0.5739 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4569, allocations: 160 / 0.5739 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.458, allocations: 0.5215 MB / 0.5744 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.4582, allocations: 71.61 kB / 0.5744 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.4582, allocations: 4 kB / 0.5744 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.4585, allocations: 39.94 kB / 0.5745 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-05/0.4586, allocations: 23.91 kB / 0.5745 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.4586, allocations: 8 kB / 0.5745 GB, free: 6.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009395/0.4596, allocations: 0.7723 MB / 0.5753 GB, free: 5.605 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4596, allocations: 0 / 0.5753 GB, free: 5.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.46, allocations: 60 kB / 0.5753 GB, free: 5.547 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.001626/0.4616, allocations: 420.7 kB / 0.5757 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009919/0.4626, allocations: 263.7 kB / 0.576 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4626, allocations: 0 / 0.576 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.4631, allocations: 143.8 kB / 0.5761 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/0.4637, allocations: 91.61 kB / 0.5762 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.4655, allocations: 1.046 MB / 0.5772 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006534/0.4661, allocations: 0.8855 MB / 0.5781 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002203/0.4664, allocations: 91.52 kB / 0.5782 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.4665, allocations: 43.81 kB / 0.5782 GB, free: 2.676 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4665, allocations: 0 / 0.5782 GB, free: 2.676 MB / 414.1 MB Notification: Performance of Templates: time 0.01239/0.4789, allocations: 5.284 MB / 0.5834 GB, free: 13.41 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] 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.8842620169743896]