Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001171/0.001171, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2907/0.2907, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 82.55 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1295, allocations: 62.44 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003575/0.1331, allocations: 1.598 MB / 481.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1348, allocations: 1.16 MB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.135, allocations: 0 / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1353, allocations: 23.84 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.1356, allocations: 83.62 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1359, allocations: 87.69 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1361, allocations: 63.91 kB / 483.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1362, allocations: 23.95 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.1362, allocations: 23.81 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.1364, allocations: 39.83 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1364, allocations: 4 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.1366, allocations: 95.94 kB / 483.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.1367, allocations: 15.92 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.1367, allocations: 23.81 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.137, allocations: 144 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.137, allocations: 0 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.137, allocations: 0 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.137, allocations: 0 / 483.5 MB, free: 1.77 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.0004957/0.1375, allocations: 399.1 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1376, allocations: 8.031 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.1376, allocations: 38.75 kB / 483.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.1376, allocations: 8.844 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1378, allocations: 192.1 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1379, allocations: 4.375 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1379, allocations: 4.375 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1381, allocations: 67.33 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1381, allocations: 4 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.1381, allocations: 0 / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.1381, allocations: 0 / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.1382, allocations: 19.98 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.1385, allocations: 292.8 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1387, allocations: 38.56 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.1388, allocations: 16.94 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1388, allocations: 0 / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1389, allocations: 34.56 kB / 484.6 MB, free: 500 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.244e-06/0.1389, allocations: 4 kB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005529/0.1394, allocations: 141.2 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1395, allocations: 81.11 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.1396, allocations: 149.8 kB / 485 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1397, allocations: 33.58 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.1397, allocations: 92.14 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.1397, allocations: 19.72 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.1398, allocations: 17.7 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.1399, allocations: 322.8 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.14, allocations: 15.98 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.14, allocations: 37.69 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1402, allocations: 48.88 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1402, allocations: 0 / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001828/0.1404, allocations: 73.66 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1404, allocations: 10.19 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1404, allocations: 3.938 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1404, allocations: 0 / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.1405, allocations: 11.98 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1405, allocations: 0 / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.1406, allocations: 15.84 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1406, allocations: 4 kB / 485.7 MB, free: 15.36 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.785e-05/0.1407, allocations: 113.8 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.1407, allocations: 7.984 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.1409, allocations: 94.06 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.141, allocations: 4.062 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.141, allocations: 7.938 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.141, allocations: 7.938 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.1414, allocations: 342.6 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1414, allocations: 0 / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.773e-05/0.1415, allocations: 11.98 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1415, allocations: 0 / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1415, allocations: 7.938 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1415, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1415, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1417, allocations: 183.6 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.1418, allocations: 81.11 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.1418, allocations: 7.938 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.1419, allocations: 11.97 kB / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1419, allocations: 0 / 486.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.1419, allocations: 3.938 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.027e-05/0.142, allocations: 119.2 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.142, allocations: 0 / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1423, allocations: 32 kB / 486.7 MB, free: 14.23 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.001399/0.1437, allocations: 1.101 MB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.1439, allocations: 59.84 kB / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1439, allocations: 0 / 487.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.553e-05/0.144, allocations: 27.92 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1444, allocations: 19.36 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.1458, allocations: 1.401 MB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1461, allocations: 0.6924 MB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.143e-05/0.1461, allocations: 7.984 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.1462, allocations: 35.42 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1462, allocations: 0 / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.168, allocations: 3.136 MB / 493.2 MB, free: 7.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/7.728, allocations: 8.141 kB / 493.2 MB, free: 7.852 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_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_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches