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.002623/0.002623, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002534/0.002534, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2633/0.2633, allocations: 46.94 MB / 360.8 MB, free: 4.27 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+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.002204/0.002204, allocations: 75.88 kB / 0.4967 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3741, allocations: 66.02 MB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003745/0.3778, allocations: 1.904 MB / 0.563 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3792, allocations: 0.7141 MB / 0.5637 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.831e-05/0.3793, allocations: 4 kB / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.3798, allocations: 183.4 kB / 0.5639 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000437/0.3803, allocations: 171.4 kB / 0.564 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008014/0.3811, allocations: 326.2 kB / 0.5643 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.3814, allocations: 239.3 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3816, allocations: 48.44 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3817, allocations: 95.67 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.382, allocations: 171.5 kB / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.382, allocations: 12 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-05/0.3821, allocations: 39.98 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.3823, allocations: 107.7 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3824, allocations: 119 kB / 0.5651 GB, free: 296 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.3828, allocations: 306.2 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3828, allocations: 0 / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3829, allocations: 0 / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.3829, allocations: 0 / 0.5654 GB, free: 15.99 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.001078/0.3839, allocations: 0.5897 MB / 0.566 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.384, allocations: 8.031 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.3841, allocations: 48.66 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.3846, allocations: 316.6 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3846, allocations: 8.375 kB / 0.5664 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.3846, allocations: 8.375 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.3851, allocations: 179.3 kB / 0.5666 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3851, allocations: 4 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3851, allocations: 7.938 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3851, allocations: 0 / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.3857, allocations: 151.9 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.3868, allocations: 0.6049 MB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.3872, allocations: 149.1 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.3875, allocations: 85.77 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.3875, allocations: 7.984 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.3875, allocations: 30.56 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.3875, allocations: 4 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002838/0.3904, allocations: 0.7924 MB / 0.5683 GB, free: 12.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.3904, allocations: 81.11 kB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.3912, allocations: 0.58 MB / 0.569 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.3912, allocations: 37.7 kB / 0.569 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.3914, allocations: 192.4 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.958e-05/0.3915, allocations: 67.42 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.3916, allocations: 33.7 kB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3917, allocations: 350.8 kB / 0.5696 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.3922, allocations: 139.9 kB / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004945/0.3927, allocations: 153.6 kB / 0.5699 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009463/0.3937, allocations: 293.6 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3937, allocations: 4 kB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001105/0.3948, allocations: 373 kB / 0.5706 GB, free: 10.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3948, allocations: 10.66 kB / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3948, allocations: 0 / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3948, allocations: 0 / 0.5706 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/0.3952, allocations: 64.81 kB / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3952, allocations: 0 / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.3955, allocations: 51.88 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.3955, allocations: 4 kB / 0.5707 GB, free: 10.39 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.00022/0.3957, allocations: 185.7 kB / 0.5709 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.3958, allocations: 39.72 kB / 0.5709 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.3972, allocations: 428.6 kB / 0.5713 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3972, allocations: 0 / 0.5713 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.3972, allocations: 4 kB / 0.5713 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.3972, allocations: 4 kB / 0.5713 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/0.4003, allocations: 0.8791 MB / 0.5722 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.4003, allocations: 0 / 0.5722 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.4008, allocations: 59.94 kB / 0.5722 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.4008, allocations: 0 / 0.5722 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.4008, allocations: 8 kB / 0.5722 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.4008, allocations: 0 / 0.5722 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4008, allocations: 0 / 0.5722 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.4027, allocations: 0.5411 MB / 0.5728 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.4028, allocations: 39.77 kB / 0.5728 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.4029, allocations: 8 kB / 0.5728 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.4034, allocations: 39.94 kB / 0.5728 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4036, allocations: 19.91 kB / 0.5729 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.4036, allocations: 15.98 kB / 0.5729 GB, free: 8.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008288/0.4044, allocations: 439.1 kB / 0.5733 GB, free: 7.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4044, allocations: 3.938 kB / 0.5733 GB, free: 7.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006739/0.4051, allocations: 52 kB / 0.5733 GB, free: 7.57 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.002282/0.4074, allocations: 420.7 kB / 0.5738 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.409, allocations: 299.7 kB / 0.574 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4091, allocations: 0 / 0.574 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000817/0.4099, allocations: 159.8 kB / 0.5742 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.4108, allocations: 53.22 kB / 0.5742 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.4128, allocations: 0.7179 MB / 0.5749 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/0.4135, allocations: 0.8142 MB / 0.5757 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.4138, allocations: 74.5 kB / 0.5758 GB, free: 5.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.414, allocations: 27.42 kB / 0.5758 GB, free: 5.125 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.414, allocations: 0 / 0.5758 GB, free: 5.125 MB / 414.1 MB Notification: Performance of Templates: time 0.01417/0.4281, allocations: 3.778 MB / 0.5795 GB, free: 1.367 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins/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: 5.66730328486301]