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.001341/0.001341, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.002812/0.002812, allocations: 212.3 kB / 23.74 MB, free: 4.688 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.545/1.545, 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.2358/0.2358, allocations: 46.94 MB / 360.9 MB, free: 4.336 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 68.09 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 66.04 MB / 0.5607 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003825/0.3448, allocations: 1.894 MB / 0.5625 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3463, allocations: 0.7258 MB / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.3465, allocations: 0 / 0.5632 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.347, allocations: 175.5 kB / 0.5634 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005032/0.3475, allocations: 179.3 kB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.3483, allocations: 330.6 kB / 0.5639 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.3486, allocations: 239.4 kB / 0.5641 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.3488, allocations: 47.58 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.349, allocations: 95.62 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.3492, allocations: 163.5 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.3492, allocations: 16 kB / 0.5644 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3493, allocations: 43.98 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.3495, allocations: 107.5 kB / 0.5646 GB, free: 480 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.3496, allocations: 135 kB / 0.5647 GB, free: 344 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.35, allocations: 306.5 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.35, allocations: 0 / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.35, allocations: 4 kB / 0.565 GB, free: 32 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.3501, allocations: 0 / 0.565 GB, free: 32 kB / 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.001162/0.3512, allocations: 0.6131 MB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3513, allocations: 8.031 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.3513, allocations: 42.75 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.3514, allocations: 40.69 kB / 0.5657 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.3519, allocations: 320.6 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3519, allocations: 8.375 kB / 0.566 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.352, allocations: 4.375 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.3524, allocations: 175.2 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3524, allocations: 7.984 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3524, allocations: 7.938 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3524, allocations: 4 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.3529, allocations: 147.8 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.354, allocations: 0.6167 MB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.3544, allocations: 149.1 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.3546, allocations: 77.77 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3547, allocations: 4 kB / 0.5671 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.3547, allocations: 38.56 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.3547, allocations: 0 / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.00261/0.3573, allocations: 0.8041 MB / 0.568 GB, free: 12.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.3574, allocations: 85.05 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/0.3581, allocations: 0.5956 MB / 0.5686 GB, free: 12.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.3581, allocations: 29.7 kB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3583, allocations: 208.4 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.3584, allocations: 67.42 kB / 0.5689 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.3584, allocations: 33.7 kB / 0.5689 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3586, allocations: 354.8 kB / 0.5693 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.3591, allocations: 140.1 kB / 0.5694 GB, free: 11.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.3595, allocations: 152.2 kB / 0.5696 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.3604, allocations: 297.3 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3604, allocations: 7.938 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001019/0.3614, allocations: 361.1 kB / 0.5702 GB, free: 10.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3615, allocations: 12.17 kB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.3615, allocations: 0 / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3615, allocations: 7.938 kB / 0.5702 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.3618, allocations: 63.94 kB / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3618, allocations: 0 / 0.5703 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.3621, allocations: 35.95 kB / 0.5703 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3621, allocations: 11.98 kB / 0.5703 GB, free: 10.31 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.0002203/0.3623, allocations: 193.6 kB / 0.5705 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.3624, allocations: 39.77 kB / 0.5705 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.3636, allocations: 424.7 kB / 0.5709 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.3636, allocations: 4 kB / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3636, allocations: 0 / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3636, allocations: 0 / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.3653, allocations: 0.8791 MB / 0.5718 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.3653, allocations: 8 kB / 0.5718 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.3656, allocations: 67.86 kB / 0.5719 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.3656, allocations: 4 kB / 0.5719 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3656, allocations: 0 / 0.5719 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3656, allocations: 4.75 kB / 0.5719 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3656, allocations: 3.938 kB / 0.5719 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3667, allocations: 0.5294 MB / 0.5724 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.3668, allocations: 51.7 kB / 0.5725 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.3668, allocations: 7.984 kB / 0.5725 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.3671, allocations: 39.89 kB / 0.5725 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.3672, allocations: 23.91 kB / 0.5725 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3672, allocations: 15.94 kB / 0.5725 GB, free: 7.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005043/0.3677, allocations: 451 kB / 0.573 GB, free: 7.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3677, allocations: 0 / 0.573 GB, free: 7.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003488/0.3681, allocations: 55.94 kB / 0.573 GB, free: 7.465 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.002891/0.371, allocations: 1.368 MB / 0.5744 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009923/0.372, allocations: 303.7 kB / 0.5746 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.372, allocations: 0 / 0.5746 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000481/0.3725, allocations: 159.8 kB / 0.5748 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.373, allocations: 65.14 kB / 0.5749 GB, free: 5.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.38, allocations: 4.325 MB / 0.5791 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.3805, allocations: 0.8181 MB / 0.5799 GB, free: 464 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.3807, allocations: 78.53 kB / 0.58 GB, free: 388 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.3809, allocations: 123.3 kB / 0.5801 GB, free: 264 kB / 414.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3809, allocations: 0 / 0.5801 GB, free: 264 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.4168, allocations: 8.138 MB / 0.588 GB, free: 8.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 7.922 kB / 0.588 GB, free: 8.195 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] 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: 14.977848178939894]