Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001843/0.001843, allocations: 114 kB / 20.43 MB, free: 1.457 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.002103/0.002103, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.92 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 75.88 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3076, allocations: 66.08 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003734/0.3113, allocations: 1.898 MB / 0.5626 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3126, allocations: 0.7174 MB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.3127, allocations: 0 / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.3132, allocations: 183.4 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.3137, allocations: 175.3 kB / 0.5636 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000761/0.3144, allocations: 328.2 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.3147, allocations: 239.4 kB / 0.5642 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3149, allocations: 43.59 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.315, allocations: 103.6 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.3154, allocations: 159.5 kB / 0.5645 GB, free: 488 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.3154, allocations: 12 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3155, allocations: 43.98 kB / 0.5645 GB, free: 432 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.3157, allocations: 119.5 kB / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3158, allocations: 127 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.3162, allocations: 298.7 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.3162, allocations: 8 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3162, allocations: 4 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3163, allocations: 0 / 0.5651 GB, free: 15.87 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.001071/0.3173, allocations: 0.6168 MB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.3174, allocations: 8.031 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.3174, allocations: 38.75 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.3175, allocations: 36.7 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.3179, allocations: 316.6 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3179, allocations: 12.38 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.318, allocations: 12.36 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.3184, allocations: 159.9 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3184, allocations: 15.88 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3184, allocations: 0 / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.3184, allocations: 7.984 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.3189, allocations: 155.8 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.32, allocations: 0.6206 MB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.3204, allocations: 145.1 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.3206, allocations: 81.78 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.3206, allocations: 3.984 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3207, allocations: 34.56 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.113e-06/0.3207, allocations: 0 / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002626/0.3233, allocations: 0.8043 MB / 0.568 GB, free: 12.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.3234, allocations: 85.11 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.3241, allocations: 0.5956 MB / 0.5687 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3241, allocations: 29.7 kB / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.3243, allocations: 200.4 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.555e-05/0.3243, allocations: 71.45 kB / 0.569 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.3244, allocations: 33.66 kB / 0.569 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.3246, allocations: 362.8 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.3251, allocations: 135.9 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004496/0.3255, allocations: 156.1 kB / 0.5696 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.3264, allocations: 293.5 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3264, allocations: 3.938 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001089/0.3275, allocations: 377 kB / 0.5703 GB, free: 10.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3275, allocations: 4 kB / 0.5703 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3275, allocations: 0 / 0.5703 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3276, allocations: 4 kB / 0.5703 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.3279, allocations: 63.92 kB / 0.5703 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3279, allocations: 4 kB / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.3282, allocations: 35.95 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3282, allocations: 4 kB / 0.5704 GB, free: 10.15 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.0002267/0.3284, allocations: 190.8 kB / 0.5706 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.3285, allocations: 43.7 kB / 0.5706 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.3297, allocations: 416.7 kB / 0.571 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3297, allocations: 8 kB / 0.571 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3297, allocations: 0 / 0.571 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3297, allocations: 0 / 0.571 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3315, allocations: 0.8909 MB / 0.5719 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3315, allocations: 4 kB / 0.5719 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.3318, allocations: 59.88 kB / 0.572 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3318, allocations: 4 kB / 0.572 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3318, allocations: 11.98 kB / 0.572 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3318, allocations: 4 kB / 0.572 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3318, allocations: 0 / 0.572 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.333, allocations: 0.5254 MB / 0.5725 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3331, allocations: 52.27 kB / 0.5725 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.3331, allocations: 8 kB / 0.5725 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.3334, allocations: 39.94 kB / 0.5726 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.3335, allocations: 19.97 kB / 0.5726 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.3335, allocations: 15.94 kB / 0.5726 GB, free: 7.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005535/0.3341, allocations: 458.9 kB / 0.5731 GB, free: 7.359 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3341, allocations: 0 / 0.5731 GB, free: 7.359 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.3345, allocations: 51.94 kB / 0.5731 GB, free: 7.309 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.002874/0.3373, allocations: 1.371 MB / 0.5744 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.3384, allocations: 299.7 kB / 0.5747 GB, free: 5.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3384, allocations: 0 / 0.5747 GB, free: 5.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.3389, allocations: 167.8 kB / 0.5749 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.3394, allocations: 57.19 kB / 0.5749 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007211/0.3467, allocations: 4.321 MB / 0.5792 GB, free: 1.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/0.3473, allocations: 0.8142 MB / 0.58 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.3475, allocations: 78.23 kB / 0.58 GB, free: 216 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.3477, allocations: 115.4 kB / 0.5801 GB, free: 100 kB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3477, allocations: 7.875 kB / 0.5801 GB, free: 92 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/0.3836, allocations: 8.153 MB / 0.5881 GB, free: 7.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.83, allocations: 11.36 kB / 0.5881 GB, free: 7.977 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009994 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv","/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_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable der2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der4.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable der4.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable der1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der3.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv. Warning: Get data of variable der3.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.893364954004937]