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.001621/0.001621, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001775/0.001775, allocations: 213.9 kB / 24.49 MB, free: 4.145 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2332/0.2332, allocations: 46.94 MB / 361.6 MB, free: 4.285 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.002366/0.002366, allocations: 71.88 kB / 0.4974 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3449, allocations: 66.03 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004114/0.349, allocations: 1.901 MB / 0.5637 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.3505, allocations: 0.7141 MB / 0.5644 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.3507, allocations: 7.875 kB / 0.5644 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.3512, allocations: 179.5 kB / 0.5646 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00052/0.3517, allocations: 179.3 kB / 0.5648 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.3526, allocations: 326.2 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.353, allocations: 243.3 kB / 0.5653 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.3532, allocations: 44.44 kB / 0.5654 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.3533, allocations: 99.61 kB / 0.5655 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.3536, allocations: 159.5 kB / 0.5656 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.3537, allocations: 12 kB / 0.5656 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3538, allocations: 43.98 kB / 0.5657 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3539, allocations: 107.7 kB / 0.5658 GB, free: 432 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3541, allocations: 131 kB / 0.5659 GB, free: 300 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.3545, allocations: 298.3 kB / 0.5662 GB, free: 4 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3545, allocations: 0 / 0.5662 GB, free: 4 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3545, allocations: 4 kB / 0.5662 GB, free: 0 / 398.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.3545, allocations: 0 / 0.5662 GB, free: 0 / 398.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.001128/0.3557, allocations: 0.5857 MB / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3557, allocations: 12.03 kB / 0.5668 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3558, allocations: 40.66 kB / 0.5668 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.3564, allocations: 320.6 kB / 0.5671 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3564, allocations: 12.31 kB / 0.5671 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.3564, allocations: 12.38 kB / 0.5671 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.3569, allocations: 171.3 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3569, allocations: 0 / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.3569, allocations: 4 kB / 0.5673 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3569, allocations: 8 kB / 0.5673 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.3574, allocations: 147.8 kB / 0.5675 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3585, allocations: 0.6128 MB / 0.5681 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.3589, allocations: 141.2 kB / 0.5682 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.3591, allocations: 81.78 kB / 0.5683 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.3592, allocations: 11.92 kB / 0.5683 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.3592, allocations: 30.56 kB / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.3592, allocations: 0 / 0.5683 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002624/0.3618, allocations: 0.7964 MB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.3619, allocations: 77.11 kB / 0.5692 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/0.3626, allocations: 0.5839 MB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.3626, allocations: 29.7 kB / 0.5698 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.3627, allocations: 192.4 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.3628, allocations: 67.52 kB / 0.57 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.3629, allocations: 37.64 kB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3631, allocations: 354.8 kB / 0.5704 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.3635, allocations: 140.8 kB / 0.5705 GB, free: 11.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.364, allocations: 160.3 kB / 0.5707 GB, free: 11.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.3648, allocations: 293.4 kB / 0.5709 GB, free: 10.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3648, allocations: 4 kB / 0.5709 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009918/0.3658, allocations: 365.1 kB / 0.5713 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3658, allocations: 4 kB / 0.5713 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3658, allocations: 0 / 0.5713 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.3658, allocations: 7.938 kB / 0.5713 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.3662, allocations: 71.94 kB / 0.5714 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3662, allocations: 0 / 0.5714 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3664, allocations: 39.94 kB / 0.5714 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3664, allocations: 4 kB / 0.5714 GB, free: 10.41 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.0002044/0.3666, allocations: 193.6 kB / 0.5716 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.3667, allocations: 39.72 kB / 0.5716 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.3678, allocations: 428.6 kB / 0.572 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3678, allocations: 4 kB / 0.5721 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3678, allocations: 0 / 0.5721 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3679, allocations: 0 / 0.5721 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.3696, allocations: 0.8831 MB / 0.5729 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3696, allocations: 0 / 0.5729 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.3699, allocations: 59.94 kB / 0.573 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3699, allocations: 8 kB / 0.573 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3699, allocations: 4 kB / 0.573 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.3699, allocations: 7.938 kB / 0.573 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3699, allocations: 0 / 0.573 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.371, allocations: 0.5333 MB / 0.5735 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.3711, allocations: 43.75 kB / 0.5736 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.3711, allocations: 4 kB / 0.5736 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.3714, allocations: 43.94 kB / 0.5736 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.3715, allocations: 23.91 kB / 0.5736 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.3715, allocations: 7.938 kB / 0.5736 GB, free: 8.059 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004997/0.372, allocations: 439.1 kB / 0.574 GB, free: 7.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.372, allocations: 0 / 0.574 GB, free: 7.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.3724, allocations: 52 kB / 0.5741 GB, free: 7.582 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.001548/0.3739, allocations: 422 kB / 0.5745 GB, free: 7.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.3749, allocations: 299.7 kB / 0.5748 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3749, allocations: 0 / 0.5748 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.3754, allocations: 159.8 kB / 0.5749 GB, free: 6.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.3759, allocations: 56.81 kB / 0.575 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.3771, allocations: 0.7348 MB / 0.5757 GB, free: 6.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.3777, allocations: 0.8104 MB / 0.5765 GB, free: 5.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.3778, allocations: 35.42 kB / 0.5765 GB, free: 5.18 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3778, allocations: 0 / 0.5765 GB, free: 5.18 MB / 414.1 MB Notification: Performance of Templates: time 0.007972/0.3857, allocations: 4.681 MB / 0.5811 GB, free: 0.5156 MB / 414.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.127544150920585]