Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",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.001327/0.001327, allocations: 103 kB / 16.27 MB, free: 5.93 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.001624/0.001624, allocations: 188.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2452/0.2452, allocations: 43.53 MB / 314 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00181/0.001811, allocations: 69.44 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1266, allocations: 57.8 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.003396/0.13, allocations: 1.551 MB / 442.2 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1316, allocations: 0.9417 MB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.1317, allocations: 0 / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.132, allocations: 19.86 kB / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.1323, allocations: 47.77 kB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1326, allocations: 91.19 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1328, allocations: 59.84 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.133, allocations: 11.98 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.133, allocations: 23.86 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1332, allocations: 23.92 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1332, allocations: 4 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1333, allocations: 51.95 kB / 443.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.1334, allocations: 15.94 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1334, allocations: 19.86 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1336, allocations: 91.7 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1336, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1336, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1336, allocations: 0 / 443.6 MB, free: 3.824 MB / 318.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.0004252/0.1341, allocations: 375.2 kB / 443.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1341, allocations: 15.89 kB / 444 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.82e-05/0.1341, allocations: 38.73 kB / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.1342, allocations: 8.844 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.1344, allocations: 188.2 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1344, allocations: 384 / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1344, allocations: 384 / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1346, allocations: 75.27 kB / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1346, allocations: 0 / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1346, allocations: 0 / 444.3 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.1346, allocations: 4 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.55e-05/0.1347, allocations: 23.98 kB / 444.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.1351, allocations: 284.9 kB / 444.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1353, allocations: 42.5 kB / 444.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.1354, allocations: 24.88 kB / 444.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1354, allocations: 0 / 444.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.1354, allocations: 38.56 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1354, allocations: 0 / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005445/0.136, allocations: 145.3 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.136, allocations: 81.11 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1361, allocations: 133.7 kB / 445 MB, free: 2.164 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.1362, allocations: 29.7 kB / 445 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.1362, allocations: 92.14 kB / 445.1 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1362, allocations: 11.81 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.1363, allocations: 21.7 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.1363, allocations: 318.8 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.1364, allocations: 19.98 kB / 445.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.491e-05/0.1365, allocations: 41.69 kB / 445.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1366, allocations: 52.77 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1366, allocations: 0 / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001588/0.1368, allocations: 89.56 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1368, allocations: 4 kB / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1368, allocations: 0 / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1368, allocations: 0 / 445.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.1369, allocations: 12 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1369, allocations: 4.031 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.1369, allocations: 8.266 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.137, allocations: 3.938 kB / 445.7 MB, free: 1.43 MB / 318.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 6.34e-05/0.137, allocations: 117.8 kB / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1371, allocations: 15.78 kB / 445.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.1373, allocations: 101.8 kB / 445.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1373, allocations: 4 kB / 445.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1373, allocations: 4 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1373, allocations: 0 / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.1376, allocations: 358.4 kB / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1377, allocations: 4 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.1377, allocations: 11.98 kB / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1377, allocations: 0 / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1377, allocations: 0 / 446.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1377, allocations: 7.938 kB / 446.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1377, allocations: 4 kB / 446.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1379, allocations: 179.4 kB / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.138, allocations: 81.11 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.138, allocations: 0 / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.138, allocations: 7.938 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1381, allocations: 11.92 kB / 446.6 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1381, allocations: 11.94 kB / 446.6 MB, free: 432 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.359e-05/0.1382, allocations: 99.27 kB / 446.7 MB, free: 332 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1382, allocations: 0 / 446.7 MB, free: 332 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1384, allocations: 23.98 kB / 446.7 MB, free: 308 kB / 318.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.001377/0.1398, allocations: 1.048 MB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.1401, allocations: 55.91 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1401, allocations: 0 / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.293e-05/0.1402, allocations: 27.98 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1405, allocations: 21.95 kB / 447.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1422, allocations: 1.402 MB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.1426, allocations: 0.6963 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.591e-05/0.1426, allocations: 20.03 kB / 450 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.1427, allocations: 19.42 kB / 450 MB, free: 12.96 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1427, allocations: 0 / 450 MB, free: 12.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.1713, allocations: 2.68 MB / 452.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.81, allocations: 11.67 kB / 452.7 MB, free: 10.24 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches