Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.001428/0.001428, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00171/0.00171, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.419/1.419, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2199/0.2199, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 56.22 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.13, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003212/0.1333, allocations: 1.56 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007818/0.1341, allocations: 403.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.1342, allocations: 4 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1344, allocations: 23.86 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.1346, allocations: 43.83 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.135, allocations: 119.2 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1352, allocations: 55.84 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1353, allocations: 11.98 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.793e-05/0.1354, allocations: 19.86 kB / 471.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.1355, allocations: 23.86 kB / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1355, allocations: 0 / 471.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1356, allocations: 39.98 kB / 471.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1357, allocations: 7.938 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.1357, allocations: 35.78 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.1359, allocations: 72.08 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.136, allocations: 3.938 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.136, allocations: 0 / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.136, allocations: 4 kB / 471.8 MB, free: 11.85 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.0005303/0.1365, allocations: 383.1 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1366, allocations: 8.031 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1366, allocations: 42.75 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.1367, allocations: 8.844 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.1368, allocations: 188.2 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1368, allocations: 4.375 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1369, allocations: 384 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.137, allocations: 49.62 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.137, allocations: 3.938 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.137, allocations: 0 / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1371, allocations: 4 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.1371, allocations: 31.91 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.1375, allocations: 284.8 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1377, allocations: 38.56 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.875e-05/0.1378, allocations: 20.94 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1378, allocations: 0 / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1378, allocations: 42.5 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1378, allocations: 0 / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005335/0.1384, allocations: 145.3 kB / 473 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.1384, allocations: 55.34 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1386, allocations: 161.8 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1386, allocations: 29.7 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.1386, allocations: 92.14 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.1387, allocations: 27.64 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.1387, allocations: 17.72 kB / 473.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1388, allocations: 322.8 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.1389, allocations: 19.98 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.139, allocations: 19.98 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1391, allocations: 61.02 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1391, allocations: 0 / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001833/0.1393, allocations: 81.56 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1393, allocations: 8 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.1394, allocations: 3.938 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1394, allocations: 0 / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.1394, allocations: 11.98 kB / 473.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1395, allocations: 4 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.1395, allocations: 8 kB / 473.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1395, allocations: 7.938 kB / 473.9 MB, free: 9.473 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 8.813e-05/0.1396, allocations: 117.8 kB / 474 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.1397, allocations: 11.84 kB / 474 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.1399, allocations: 93.97 kB / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1399, allocations: 0 / 474.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1399, allocations: 7.938 kB / 474.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1399, allocations: 12.2 kB / 474.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.1404, allocations: 346.5 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1404, allocations: 0 / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.1404, allocations: 11.98 kB / 474.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1404, allocations: 7.984 kB / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1405, allocations: 0 / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1405, allocations: 3.938 kB / 474.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1405, allocations: 4 kB / 474.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1407, allocations: 191.5 kB / 474.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1408, allocations: 81.02 kB / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1408, allocations: 0 / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1408, allocations: 11.92 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1409, allocations: 4 kB / 474.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1409, allocations: 4 kB / 474.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.141, allocations: 133.8 kB / 474.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.141, allocations: 0 / 474.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1413, allocations: 15.98 kB / 474.9 MB, free: 8.332 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.001294/0.1426, allocations: 1.008 MB / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1428, allocations: 59.89 kB / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1428, allocations: 0 / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.1429, allocations: 31.92 kB / 476 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1432, allocations: 19.58 kB / 476.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.1447, allocations: 1.48 MB / 477.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1449, allocations: 0.6963 MB / 478.2 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.558e-05/0.145, allocations: 20.05 kB / 478.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.145, allocations: 23.44 kB / 478.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1451, allocations: 0 / 478.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.1627, allocations: 2.516 MB / 480.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.49, allocations: 18.95 kB / 480.8 MB, free: 2.559 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_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_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches