Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 104.4 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.001231/0.001231, 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.547/1.547, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 76.16 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1229, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.004779/0.1278, allocations: 1.62 MB / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.129, allocations: 0.5377 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1292, allocations: 8 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.1297, allocations: 111.6 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005738/0.1303, allocations: 115.6 kB / 482.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.1308, allocations: 115.1 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1311, allocations: 87.81 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.1313, allocations: 27.97 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.1314, allocations: 35.84 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.1317, allocations: 67.81 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1317, allocations: 4 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.1319, allocations: 47.97 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.132, allocations: 23.86 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.56e-05/0.1321, allocations: 35.69 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004126/0.1325, allocations: 123.9 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.1325, allocations: 0 / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1326, allocations: 0 / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.1326, allocations: 4 kB / 483.1 MB, free: 2.215 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.0008146/0.1334, allocations: 422.8 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.1335, allocations: 8.031 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.1335, allocations: 30.75 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.1336, allocations: 16.83 kB / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.1339, allocations: 213.6 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1339, allocations: 8.375 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.1339, allocations: 4.375 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1342, allocations: 49.62 kB / 483.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.1342, allocations: 11.98 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1342, allocations: 0 / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1342, allocations: 0 / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1343, allocations: 27.97 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.1349, allocations: 320.6 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.135, allocations: 42.56 kB / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.1351, allocations: 20.94 kB / 484.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1351, allocations: 3.938 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.1352, allocations: 30.56 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1352, allocations: 4 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001017/0.1362, allocations: 241 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1363, allocations: 55.34 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.1365, allocations: 262.1 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1366, allocations: 29.7 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.1367, allocations: 112.1 kB / 484.9 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.1367, allocations: 35.55 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.1368, allocations: 17.72 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1369, allocations: 322.8 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/0.137, allocations: 35.97 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.1371, allocations: 31.98 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1373, allocations: 85.09 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1373, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002373/0.1375, allocations: 109.5 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1376, allocations: 4 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1376, allocations: 3.938 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1376, allocations: 4 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1377, allocations: 15.98 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1377, allocations: 7.938 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.1378, allocations: 7.984 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.1378, allocations: 8 kB / 485.6 MB, free: 15.43 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 (8): * Single equations (assignments): 8 * 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.0001052/0.1379, allocations: 125.8 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.138, allocations: 15.81 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.1383, allocations: 131 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1383, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.1383, allocations: 11.92 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1383, allocations: 3.938 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.1389, allocations: 423.3 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1389, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.139, allocations: 23.92 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.139, allocations: 4.031 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.139, allocations: 0 / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.139, allocations: 4 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.139, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.1394, allocations: 220.5 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1394, allocations: 88.95 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1395, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.1395, allocations: 8 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.1396, allocations: 7.984 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1396, allocations: 7.984 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.1398, allocations: 192.3 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1398, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1401, allocations: 24 kB / 486.9 MB, free: 14.05 MB / 366.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 (8): * Single equations (assignments): 8 * 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.001549/0.1416, allocations: 1.101 MB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1419, allocations: 71.95 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1419, allocations: 3.938 kB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.936e-05/0.142, allocations: 43.91 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.1424, allocations: 15.98 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.1445, allocations: 1.781 MB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.1448, allocations: 0.7195 MB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.545e-05/0.1449, allocations: 20.95 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.145, allocations: 39.42 kB / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.145, allocations: 0 / 490.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.1682, allocations: 3.227 MB / 493.9 MB, free: 7.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.781, allocations: 15.86 kB / 493.9 MB, free: 7.094 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches