Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001337/0.001337, allocations: 114 kB / 20.44 MB, free: 1.469 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.001597/0.001597, allocations: 214 kB / 23.74 MB, free: 4.695 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.495/1.495, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.2263/0.2263, allocations: 46.92 MB / 360.8 MB, free: 4.289 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.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 79.88 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3515, allocations: 66.08 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003707/0.3552, allocations: 2.025 MB / 0.5627 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3569, allocations: 0.8265 MB / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.357, allocations: 0 / 0.5635 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.3575, allocations: 179.4 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.3581, allocations: 215.1 kB / 0.5639 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009913/0.3591, allocations: 417.8 kB / 0.5643 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004463/0.3595, allocations: 303.1 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3597, allocations: 50.72 kB / 0.5646 GB, free: 308 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.3599, allocations: 131.5 kB / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.3601, allocations: 183.3 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.3601, allocations: 16 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3603, allocations: 39.98 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.3605, allocations: 171.4 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.3606, allocations: 198.4 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005547/0.3612, allocations: 441.8 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3612, allocations: 0 / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3612, allocations: 0 / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.3612, allocations: 0 / 0.5658 GB, free: 15.14 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.0014/0.3626, allocations: 0.8262 MB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3627, allocations: 8.031 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.3627, allocations: 46.75 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3628, allocations: 68.45 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.3635, allocations: 471 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3635, allocations: 8.375 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.3635, allocations: 16.33 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.3639, allocations: 155.8 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.364, allocations: 3.938 kB / 0.5673 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.364, allocations: 4 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.364, allocations: 7.984 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.3644, allocations: 127.9 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3655, allocations: 0.7182 MB / 0.5682 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.3659, allocations: 137.1 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.3662, allocations: 69.78 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.3662, allocations: 4.219 kB / 0.5684 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3662, allocations: 34.56 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3662, allocations: 3.938 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002649/0.3689, allocations: 0.8346 MB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.3689, allocations: 77.11 kB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.3702, allocations: 1.074 MB / 0.5703 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.3702, allocations: 33.7 kB / 0.5704 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.3705, allocations: 292.3 kB / 0.5706 GB, free: 9.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.3705, allocations: 67.47 kB / 0.5707 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.3706, allocations: 37.7 kB / 0.5707 GB, free: 9.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3708, allocations: 310 kB / 0.571 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.3712, allocations: 115.9 kB / 0.5711 GB, free: 9.402 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.3716, allocations: 137.6 kB / 0.5713 GB, free: 9.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008533/0.3725, allocations: 257.4 kB / 0.5715 GB, free: 9.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3725, allocations: 0 / 0.5715 GB, free: 9.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009883/0.3735, allocations: 361 kB / 0.5719 GB, free: 8.645 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3735, allocations: 8 kB / 0.5719 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3735, allocations: 0 / 0.5719 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3735, allocations: 7.984 kB / 0.5719 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.3738, allocations: 72.61 kB / 0.572 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3738, allocations: 0 / 0.572 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.3741, allocations: 39.95 kB / 0.572 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3741, allocations: 4 kB / 0.572 GB, free: 8.516 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.0002454/0.3743, allocations: 229.8 kB / 0.5722 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3745, allocations: 71.47 kB / 0.5723 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.3755, allocations: 402.7 kB / 0.5727 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3755, allocations: 0 / 0.5727 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3756, allocations: 4 kB / 0.5727 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.3756, allocations: 4 kB / 0.5727 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.3775, allocations: 0.9259 MB / 0.5736 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3775, allocations: 0 / 0.5736 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.3778, allocations: 75.86 kB / 0.5737 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3778, allocations: 0 / 0.5737 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.3778, allocations: 0 / 0.5737 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3778, allocations: 4 kB / 0.5737 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3778, allocations: 0 / 0.5737 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3789, allocations: 0.5312 MB / 0.5742 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.3791, allocations: 95.53 kB / 0.5743 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.3791, allocations: 0 / 0.5743 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.3794, allocations: 40.23 kB / 0.5743 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.3795, allocations: 15.97 kB / 0.5743 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.3795, allocations: 15.92 kB / 0.5743 GB, free: 6.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009477/0.3805, allocations: 0.7918 MB / 0.5751 GB, free: 5.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3805, allocations: 0 / 0.5751 GB, free: 5.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.3809, allocations: 64 kB / 0.5752 GB, free: 5.188 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.002808/0.3837, allocations: 1.356 MB / 0.5765 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009497/0.3846, allocations: 263.7 kB / 0.5767 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.3846, allocations: 7.938 kB / 0.5768 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.3851, allocations: 143.8 kB / 0.5769 GB, free: 3.539 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.3858, allocations: 90.12 kB / 0.577 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009035/0.3948, allocations: 6.066 MB / 0.5829 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.3954, allocations: 0.8897 MB / 0.5838 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.3956, allocations: 87.61 kB / 0.5839 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.3959, allocations: 191.4 kB / 0.584 GB, free: 12.1 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3959, allocations: 3.938 kB / 0.584 GB, free: 12.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.4357, allocations: 11.77 MB / 0.5955 GB, free: 384 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.01, allocations: 8.641 kB / 0.5955 GB, free: 380 kB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable der2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der4.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable der4.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable der1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! Error: Could not read variable der3.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv. Warning: Get data of variable der3.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.15569395700004]