Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 104.2 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 191.9 kB / 18.56 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 242.3 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2624/0.2624, allocations: 44.17 MB / 336.6 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 69.11 kB / 408.5 MB, free: 27.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 60.82 MB / 469.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003589/0.1356, allocations: 1.556 MB / 470.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.1365, allocations: 411.2 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.1366, allocations: 0 / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.1368, allocations: 19.86 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.1371, allocations: 39.84 kB / 471.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.1375, allocations: 114.4 kB / 471.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1377, allocations: 51.84 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1378, allocations: 16 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.1379, allocations: 23.91 kB / 471.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.138, allocations: 23.86 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.138, allocations: 0 / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1381, allocations: 31.94 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.1382, allocations: 15.92 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.1383, allocations: 19.86 kB / 471.7 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.1385, allocations: 72.08 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1385, allocations: 4 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1385, allocations: 0 / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1385, allocations: 7.875 kB / 471.7 MB, free: 11.91 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.0006068/0.1391, allocations: 383.1 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.1392, allocations: 8.031 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.518e-05/0.1392, allocations: 38.75 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.1393, allocations: 12.84 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1395, allocations: 192.2 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1395, allocations: 384 / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1396, allocations: 4.375 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1397, allocations: 49.62 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1398, allocations: 0 / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1398, allocations: 0 / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1398, allocations: 4 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.1399, allocations: 27.97 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.1404, allocations: 288.7 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1406, allocations: 42.56 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.599e-05/0.1407, allocations: 20.94 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1407, allocations: 0 / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1408, allocations: 30.56 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1408, allocations: 0 / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000584/0.1414, allocations: 153.3 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1414, allocations: 51.41 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1416, allocations: 160.4 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1416, allocations: 25.7 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.1417, allocations: 92.14 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1417, allocations: 15.75 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1417, allocations: 29.64 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1419, allocations: 322.8 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.1419, allocations: 27.91 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.142, allocations: 19.98 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.1422, allocations: 44.83 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1422, allocations: 4 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001982/0.1424, allocations: 89.56 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1424, allocations: 4 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1425, allocations: 0 / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1425, allocations: 0 / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/0.1425, allocations: 12 kB / 473.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1426, allocations: 8.172 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1426, allocations: 15.92 kB / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1426, allocations: 4 kB / 473.9 MB, free: 9.547 MB / 350.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 9.221e-05/0.1427, allocations: 121.8 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1428, allocations: 3.906 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.143, allocations: 97.95 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.143, allocations: 3.938 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.143, allocations: 0 / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.143, allocations: 7.938 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.1435, allocations: 354.5 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1435, allocations: 0 / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.1436, allocations: 11.98 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1436, allocations: 0 / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1436, allocations: 7.938 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1436, allocations: 0 / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1436, allocations: 0 / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1439, allocations: 183.4 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.1439, allocations: 85.3 kB / 474.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.144, allocations: 7.938 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.144, allocations: 4 kB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.1441, allocations: 3.984 kB / 474.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1441, allocations: 7.984 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1442, allocations: 119.2 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1442, allocations: 0 / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1445, allocations: 12 kB / 474.9 MB, free: 8.43 MB / 350.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.001631/0.1461, allocations: 1.018 MB / 475.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.1464, allocations: 55.84 kB / 476 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.1464, allocations: 8 kB / 476 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.1465, allocations: 23.98 kB / 476 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1469, allocations: 14.48 kB / 476 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.149, allocations: 1.453 MB / 477.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.1494, allocations: 0.6924 MB / 478.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.503e-05/0.1495, allocations: 20.3 kB / 478.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.1495, allocations: 19.44 kB / 478.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1496, allocations: 3.938 kB / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.1699, allocations: 2.461 MB / 480.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.507, allocations: 11.91 kB / 480.7 MB, free: 2.75 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches