Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, 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.001261/0.001261, 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.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002615, allocations: 85.72 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1252, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003225/0.1285, allocations: 1.595 MB / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1303, allocations: 1.16 MB / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.1304, allocations: 0 / 482.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1306, allocations: 23.84 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.131, allocations: 87.61 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.1313, allocations: 91.7 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1315, allocations: 63.89 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1316, allocations: 8 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.316e-05/0.1317, allocations: 27.86 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.1319, allocations: 39.77 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1319, allocations: 4 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.1321, allocations: 95.94 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.1322, allocations: 8 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.1322, allocations: 35.73 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.1325, allocations: 136 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1325, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1325, allocations: 0 / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1325, allocations: 0 / 483.5 MB, free: 1.805 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.0005281/0.1331, allocations: 403.1 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1331, allocations: 12.03 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.1332, allocations: 30.75 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.1332, allocations: 8.844 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.1334, allocations: 200.1 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.1334, allocations: 384 / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1335, allocations: 4.375 kB / 484.1 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1336, allocations: 67.33 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1336, allocations: 0 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1337, allocations: 3.938 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1337, allocations: 0 / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1338, allocations: 23.98 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1341, allocations: 284.8 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1344, allocations: 42.56 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.1344, allocations: 12.86 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1344, allocations: 96 / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1345, allocations: 42.55 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1345, allocations: 0 / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005719/0.1351, allocations: 145.2 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.1351, allocations: 77.11 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.1353, allocations: 145.8 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1353, allocations: 25.7 kB / 485 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.1354, allocations: 100.2 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1354, allocations: 11.72 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.1355, allocations: 25.66 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1356, allocations: 318.8 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.935e-05/0.1357, allocations: 23.92 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.1357, allocations: 33.88 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1359, allocations: 48.88 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1359, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000189/0.1361, allocations: 81.66 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1361, allocations: 6.344 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1361, allocations: 0 / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1362, allocations: 0 / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.1362, allocations: 15.94 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1362, allocations: 7.984 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.1363, allocations: 11.84 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1363, 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 8.28e-05/0.1364, allocations: 113.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.1364, allocations: 4 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.1367, allocations: 101.8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1367, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1367, allocations: 4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1367, allocations: 4.219 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1371, allocations: 346.5 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1372, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.1372, allocations: 11.98 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1372, allocations: 7.984 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1372, allocations: 4.125 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1373, allocations: 8 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1373, allocations: 0 / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1375, allocations: 183.3 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.1376, allocations: 81.11 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.1376, allocations: 3.938 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.1377, allocations: 11.98 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1377, allocations: 7.938 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1377, allocations: 4 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.301e-05/0.1378, allocations: 111.2 kB / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1378, allocations: 0 / 486.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1381, allocations: 32 kB / 486.7 MB, free: 14.26 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.00152/0.1397, allocations: 1.102 MB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1399, allocations: 51.91 kB / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1399, allocations: 0 / 487.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.14, 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.0003241/0.1403, allocations: 26.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.001603/0.1419, allocations: 1.413 MB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1422, allocations: 0.6885 MB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.948e-05/0.1423, allocations: 16.48 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.1423, allocations: 27.41 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1423, allocations: 0 / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.1658, allocations: 3.125 MB / 493.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/7.696, allocations: 19.42 kB / 493.2 MB, free: 7.875 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_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_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches