Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001138, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 78.91 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1252, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003817/0.1291, allocations: 1.595 MB / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1311, allocations: 1.156 MB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1312, allocations: 3.938 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1315, allocations: 23.84 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.1319, allocations: 83.62 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1322, allocations: 87.7 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1324, allocations: 63.89 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1325, allocations: 15.98 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.057e-05/0.1326, allocations: 31.84 kB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005956/0.1332, allocations: 39.78 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1332, allocations: 4 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.1335, allocations: 91.94 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.1335, allocations: 11.98 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.1336, allocations: 31.73 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.134, allocations: 136 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.134, allocations: 4 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.134, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.134, allocations: 0 / 483.5 MB, free: 1.809 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000663/0.1347, allocations: 407.1 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.1347, allocations: 12.03 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.409e-05/0.1348, allocations: 30.75 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.1349, allocations: 8.844 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1352, allocations: 188.2 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1352, allocations: 4.312 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.1352, allocations: 12.38 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.1354, allocations: 63.33 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1354, allocations: 0 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1355, allocations: 0 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1355, allocations: 0 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.1356, allocations: 23.98 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.1361, allocations: 280.8 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.1363, allocations: 46.55 kB / 484.6 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.1364, allocations: 12.86 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.1365, allocations: 3.938 kB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.1365, allocations: 34.56 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.1365, allocations: 4 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006436/0.1371, allocations: 145.3 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.1372, allocations: 77.11 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1374, allocations: 145.8 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.1374, allocations: 25.7 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.1375, allocations: 96.22 kB / 485.1 MB, free: 16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1376, allocations: 23.7 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.1376, allocations: 21.72 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1378, allocations: 318.8 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.1378, allocations: 19.98 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.1379, allocations: 33.55 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1381, allocations: 53.05 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1381, allocations: 4 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001894/0.1383, allocations: 73.67 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1383, allocations: 4 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1383, allocations: 3.984 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1383, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.1384, allocations: 12 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1384, allocations: 3.938 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.1385, allocations: 23.83 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1385, allocations: 0 / 485.7 MB, free: 15.39 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 (5): * Single equations (assignments): 5 * 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 7.798e-05/0.1386, allocations: 113.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.1386, allocations: 4 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1389, allocations: 93.81 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.1389, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1389, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1389, allocations: 11.92 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.1394, allocations: 346.5 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1394, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.1394, allocations: 15.98 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1395, allocations: 288 / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1395, allocations: 3.938 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1395, allocations: 0 / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1395, allocations: 0 / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.1397, allocations: 187.6 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.1398, allocations: 89.09 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1398, allocations: 3.938 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.1399, allocations: 4 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.14, allocations: 7.922 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.14, allocations: 4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.758e-05/0.1401, allocations: 117.4 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1401, allocations: 4 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.1404, allocations: 31.98 kB / 486.7 MB, free: 14.27 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 (5): * Single equations (assignments): 5 * 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.001648/0.142, allocations: 1.095 MB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1423, allocations: 59.89 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1423, allocations: 0 / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.1424, allocations: 23.98 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1428, allocations: 18.8 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.1444, allocations: 1.409 MB / 489.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1447, allocations: 0.6885 MB / 490 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.625e-05/0.1447, allocations: 12.22 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.1448, allocations: 35.36 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1448, allocations: 0 / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.1653, allocations: 3.123 MB / 493.1 MB, free: 7.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.803, allocations: 13.02 kB / 493.2 MB, free: 7.887 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches