Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001044/0.001044, allocations: 102.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2608/0.2608, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 76.44 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1422, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003303/0.1455, allocations: 1.659 MB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1475, allocations: 1.202 MB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.1476, allocations: 0 / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.1479, allocations: 31.78 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.1482, allocations: 79.62 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.1487, allocations: 183 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1488, allocations: 75.77 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.149, allocations: 16 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.971e-05/0.149, allocations: 35.84 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.1492, allocations: 39.83 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1492, allocations: 4 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.1494, allocations: 99.89 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.1495, allocations: 27.91 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.1496, allocations: 27.8 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1498, allocations: 151.9 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1499, allocations: 0 / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1499, allocations: 0 / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1499, allocations: 3.984 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006225/0.1505, allocations: 415.1 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1506, allocations: 12.03 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1506, allocations: 38.69 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1506, allocations: 8.844 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1509, allocations: 207 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1509, allocations: 384 / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.1509, allocations: 8.359 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.1511, allocations: 83.31 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1512, allocations: 0 / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1512, allocations: 0 / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1512, allocations: 4 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.1513, allocations: 43.89 kB / 484.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.1518, allocations: 308.8 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1519, allocations: 46.56 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.152, allocations: 28.92 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1521, allocations: 0 / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1521, allocations: 42.44 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1521, allocations: 0 / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008421/0.153, allocations: 233.2 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.153, allocations: 85.03 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1532, allocations: 157.7 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1532, allocations: 29.7 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.1533, allocations: 96.12 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1533, allocations: 15.72 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1534, allocations: 29.7 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1535, allocations: 322.8 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1536, allocations: 35.97 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1538, allocations: 49.69 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.154, allocations: 96.81 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.154, allocations: 0 / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002947/0.1543, allocations: 117.5 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1543, allocations: 10.5 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1543, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1544, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1545, allocations: 27.97 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1545, allocations: 0 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.141e-05/0.1546, allocations: 23.77 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.1546, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.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 (7): * Single equations (assignments): 7 * 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 9.491e-05/0.1547, allocations: 117.8 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1548, allocations: 11.91 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.1551, allocations: 150.5 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1552, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1552, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1552, allocations: 7.922 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.1558, allocations: 410.5 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1558, allocations: 8 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.1559, allocations: 19.92 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1559, allocations: 0 / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1559, allocations: 11.92 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1559, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1559, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.1563, allocations: 219.4 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1564, allocations: 85.02 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.1564, allocations: 7.938 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1565, allocations: 15.92 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1566, allocations: 3.984 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1566, allocations: 4.281 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.1567, allocations: 117.7 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1567, allocations: 3.938 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.157, allocations: 51.98 kB / 487.5 MB, free: 13.43 MB / 366.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 (7): * Single equations (assignments): 7 * 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.001841/0.1589, allocations: 1.13 MB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.1592, allocations: 99.86 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1592, allocations: 0 / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1594, allocations: 51.95 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1598, allocations: 17.81 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.1621, allocations: 1.647 MB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.1624, allocations: 0.7002 MB / 491.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1625, allocations: 32.7 kB / 491.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.1626, allocations: 27.61 kB / 491.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1626, allocations: 3.938 kB / 491.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.1866, allocations: 3.501 MB / 494.7 MB, free: 6.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.115, allocations: 19.92 kB / 494.7 MB, free: 6.305 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches