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.001756/0.001756, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.002091/0.002091, allocations: 214.7 kB / 23.74 MB, free: 4.66 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2474/0.2474, allocations: 46.92 MB / 360.8 MB, free: 4.254 MB / 286.1 MB " [Timeout remaining time 179] 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.003829/0.003829, allocations: 71.88 kB / 0.4962 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.415, allocations: 66.09 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003819/0.4188, allocations: 2.031 MB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.4204, allocations: 0.8148 MB / 0.5635 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.4204, allocations: 4 kB / 0.5635 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.4209, allocations: 179.4 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.4215, allocations: 215.1 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008742/0.4223, allocations: 415.6 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.4228, allocations: 303.1 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.423, allocations: 50.72 kB / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.4232, allocations: 135.5 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.4235, allocations: 179.3 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.4236, allocations: 12 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.4237, allocations: 47.89 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.4239, allocations: 175.4 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.4241, allocations: 194.4 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000539/0.4246, allocations: 437.8 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4246, allocations: 0 / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4246, allocations: 4 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4246, allocations: 0 / 0.5658 GB, free: 15.13 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.001385/0.426, allocations: 0.8223 MB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4261, allocations: 8.031 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.4261, allocations: 46.69 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.4262, allocations: 64.52 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.4269, allocations: 475.1 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.427, allocations: 12.38 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.501e-05/0.427, allocations: 12.33 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.4274, allocations: 155.8 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.4274, allocations: 7.938 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.4274, allocations: 4 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4274, allocations: 0 / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.4279, allocations: 135.9 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.4291, allocations: 0.722 MB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.4295, allocations: 133.1 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.4297, allocations: 73.78 kB / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.4297, allocations: 4.219 kB / 0.5684 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4298, allocations: 38.5 kB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.4298, allocations: 3.938 kB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002677/0.4325, allocations: 0.8268 MB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.4325, allocations: 77.11 kB / 0.5693 GB, free: 11.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.4339, allocations: 1.082 MB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.4339, allocations: 29.7 kB / 0.5704 GB, free: 10.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.4342, allocations: 292.3 kB / 0.5706 GB, free: 9.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.4343, allocations: 67.47 kB / 0.5707 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.4344, allocations: 33.7 kB / 0.5707 GB, free: 9.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4345, allocations: 310 kB / 0.571 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.435, allocations: 119.9 kB / 0.5712 GB, free: 9.387 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/0.4355, allocations: 129.6 kB / 0.5713 GB, free: 9.254 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008741/0.4363, allocations: 269.5 kB / 0.5715 GB, free: 8.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4363, allocations: 0 / 0.5715 GB, free: 8.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001086/0.4374, allocations: 361 kB / 0.5719 GB, free: 8.625 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4375, allocations: 4 kB / 0.5719 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4375, allocations: 0 / 0.5719 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4375, allocations: 0.75 kB / 0.5719 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.4378, allocations: 71.86 kB / 0.5719 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4378, allocations: 4 kB / 0.572 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4381, allocations: 35.95 kB / 0.572 GB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.4381, allocations: 8 kB / 0.572 GB, free: 8.504 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.0002735/0.4384, allocations: 225.8 kB / 0.5722 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.4385, allocations: 71.47 kB / 0.5723 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.4397, allocations: 406.7 kB / 0.5727 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4397, allocations: 4 kB / 0.5727 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4397, allocations: 8 kB / 0.5727 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4397, allocations: 0 / 0.5727 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.4416, allocations: 0.922 MB / 0.5736 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4416, allocations: 0 / 0.5736 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.4419, allocations: 67.86 kB / 0.5736 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4419, allocations: 0 / 0.5736 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.4419, allocations: 8 kB / 0.5737 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4419, allocations: 4 kB / 0.5737 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4419, allocations: 0 / 0.5737 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.443, allocations: 0.5276 MB / 0.5742 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.4432, allocations: 95.53 kB / 0.5743 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.4433, allocations: 4 kB / 0.5743 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.4436, allocations: 35.95 kB / 0.5743 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4437, allocations: 23.97 kB / 0.5743 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.4437, allocations: 11.92 kB / 0.5743 GB, free: 6.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001144/0.4449, allocations: 0.788 MB / 0.5751 GB, free: 5.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4449, allocations: 288 / 0.5751 GB, free: 5.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.4452, allocations: 60 kB / 0.5752 GB, free: 5.184 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.002895/0.4481, allocations: 1.356 MB / 0.5765 GB, free: 3.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009639/0.4491, allocations: 267.7 kB / 0.5767 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4491, allocations: 3.938 kB / 0.5767 GB, free: 3.672 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.4496, allocations: 147.7 kB / 0.5769 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.4502, allocations: 101.3 kB / 0.577 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009786/0.46, allocations: 6.059 MB / 0.5829 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/0.4608, allocations: 0.8932 MB / 0.5838 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002509/0.461, allocations: 91.31 kB / 0.5839 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000321/0.4613, allocations: 187.4 kB / 0.584 GB, free: 12.08 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4613, allocations: 384 / 0.584 GB, free: 12.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04756/0.5089, allocations: 11.77 MB / 0.5955 GB, free: 368 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.52, allocations: 11.66 kB / 0.5955 GB, free: 364 kB / 430.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.717979851877317]