Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.00128/0.00128, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00161/0.00161, allocations: 210.2 kB / 23.72 MB, free: 4.391 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2297/0.2297, allocations: 44.94 MB / 358.8 MB, free: 6.082 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 59.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 65.49 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003168/0.3376, allocations: 1.594 MB / 0.5585 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3386, allocations: 0.5222 MB / 0.5591 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.3386, allocations: 0 / 0.5591 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.3393, allocations: 463.1 kB / 0.5595 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000481/0.3398, allocations: 287.3 kB / 0.5598 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.3402, allocations: 131 kB / 0.5599 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.3404, allocations: 171.6 kB / 0.5601 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.3405, allocations: 7.984 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3407, allocations: 115.7 kB / 0.5602 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.3409, allocations: 239.5 kB / 0.5604 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3409, allocations: 4 kB / 0.5604 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.22e-05/0.341, allocations: 27.98 kB / 0.5604 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3411, allocations: 84.61 kB / 0.5605 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.3412, allocations: 67.25 kB / 0.5606 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.3416, allocations: 272.4 kB / 0.5608 GB, free: 3.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3416, allocations: 0 / 0.5608 GB, free: 3.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3416, allocations: 0 / 0.5608 GB, free: 3.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3416, allocations: 0 / 0.5608 GB, free: 3.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008166/0.3424, allocations: 0.5893 MB / 0.5614 GB, free: 2.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.3424, allocations: 8.031 kB / 0.5614 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.3425, allocations: 38.69 kB / 0.5615 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.3425, allocations: 44.66 kB / 0.5615 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3428, allocations: 246.8 kB / 0.5617 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.3429, allocations: 384 / 0.5617 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.3429, allocations: 384 / 0.5617 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.343, allocations: 69.55 kB / 0.5618 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.343, allocations: 0 / 0.5618 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.343, allocations: 4 kB / 0.5618 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.343, allocations: 0 / 0.5618 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3432, allocations: 31.97 kB / 0.5618 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.3436, allocations: 347.9 kB / 0.5622 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3438, allocations: 42.48 kB / 0.5622 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.3439, allocations: 24.88 kB / 0.5622 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.3439, allocations: 4 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3439, allocations: 38.55 kB / 0.5623 GB, free: 1.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.3439, allocations: 0 / 0.5623 GB, free: 1.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003235/0.3442, allocations: 117.4 kB / 0.5624 GB, free: 1.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3443, allocations: 51.41 kB / 0.5624 GB, free: 1.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.3452, allocations: 0.8699 MB / 0.5633 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3452, allocations: 25.7 kB / 0.5633 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.3454, allocations: 220 kB / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.3454, allocations: 11.94 kB / 0.5635 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.3455, allocations: 13.72 kB / 0.5635 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.3457, allocations: 370.7 kB / 0.5639 GB, free: 272 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.166e-05/0.3458, allocations: 15.98 kB / 0.5639 GB, free: 256 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.3458, allocations: 15.98 kB / 0.5639 GB, free: 240 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3459, allocations: 36.83 kB / 0.564 GB, free: 200 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3459, allocations: 0 / 0.564 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000202/0.3461, allocations: 109.4 kB / 0.5641 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3462, allocations: 4 kB / 0.5641 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3462, allocations: 4 kB / 0.5641 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3462, allocations: 0 / 0.5641 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.3463, allocations: 11.98 kB / 0.5641 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3463, allocations: 3.938 kB / 0.5641 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.3463, allocations: 7.953 kB / 0.5641 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3463, allocations: 4 kB / 0.5641 GB, free: 48 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0002225/0.3466, allocations: 209.7 kB / 0.5643 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.3466, allocations: 43.72 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3469, allocations: 129.2 kB / 0.5645 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3469, allocations: 0 / 0.5645 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3469, allocations: 0 / 0.5645 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3469, allocations: 3.984 kB / 0.5645 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.3472, allocations: 260.5 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3472, allocations: 0 / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.3473, allocations: 11.98 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3473, allocations: 0 / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.3473, allocations: 0 / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3473, allocations: 7.938 kB / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3473, allocations: 7.938 kB / 0.5647 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.3476, allocations: 203.5 kB / 0.5649 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.3477, allocations: 43.72 kB / 0.565 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.3477, allocations: 0 / 0.565 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.3478, allocations: 7.984 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.3478, allocations: 4.031 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3478, allocations: 4 kB / 0.565 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00071/0.3485, allocations: 0.655 MB / 0.5656 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3485, allocations: 0 / 0.5656 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.3488, allocations: 23.94 kB / 0.5657 GB, free: 14.37 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.001924/0.3507, allocations: 1.005 MB / 0.5666 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3509, allocations: 39.95 kB / 0.5667 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3509, allocations: 0 / 0.5667 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.351, allocations: 19.92 kB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.3514, allocations: 27.92 kB / 0.5667 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.3553, allocations: 3.182 MB / 0.5698 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3556, allocations: 220.1 kB / 0.57 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.706e-05/0.3556, allocations: 7.75 kB / 0.57 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3558, allocations: 115.4 kB / 0.5702 GB, free: 9.781 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3558, allocations: 0 / 0.5702 GB, free: 9.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.3889, allocations: 6.288 MB / 0.5763 GB, free: 3.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 3.234 kB / 0.5763 GB, free: 3.539 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.915930514223874]