Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 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.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001419/0.001419, allocations: 102.7 kB / 16.27 MB, free: 5.98 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.001662/0.001662, allocations: 188.5 kB / 17.2 MB, free: 5.613 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.761/1.761, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2252/0.2252, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001549/0.001549, allocations: 63.86 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1195, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003401/0.1229, allocations: 1.555 MB / 442.2 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006048/0.1236, allocations: 315.5 kB / 442.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.1237, allocations: 3.938 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.1239, allocations: 19.86 kB / 442.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.1242, allocations: 47.77 kB / 442.6 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1245, allocations: 67.84 kB / 442.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1246, allocations: 47.92 kB / 442.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1247, allocations: 11.98 kB / 442.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.1248, allocations: 23.84 kB / 442.7 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.1249, allocations: 19.88 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1249, allocations: 0 / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.125, allocations: 35.98 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.666e-05/0.1251, allocations: 11.94 kB / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.1251, allocations: 27.84 kB / 442.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1253, allocations: 75.73 kB / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1253, allocations: 0 / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1253, allocations: 0 / 442.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1254, allocations: 0 / 442.9 MB, free: 4.535 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.0004667/0.1258, allocations: 383.1 kB / 443.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.1259, allocations: 11.89 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.1259, allocations: 34.75 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.126, allocations: 8.844 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.1262, allocations: 192.2 kB / 443.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1262, allocations: 384 / 443.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1262, allocations: 384 / 443.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1264, allocations: 53.62 kB / 443.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1264, allocations: 0 / 443.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1264, allocations: 0 / 443.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1264, allocations: 0 / 443.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.093e-05/0.1265, allocations: 23.92 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.1268, allocations: 284.8 kB / 443.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.127, allocations: 38.56 kB / 443.9 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.1271, allocations: 20.94 kB / 443.9 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1271, allocations: 3.938 kB / 443.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.1271, allocations: 34.5 kB / 443.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.1272, allocations: 4 kB / 443.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005461/0.1277, allocations: 137.3 kB / 444.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.1277, allocations: 55.34 kB / 444.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1279, allocations: 161.3 kB / 444.3 MB, free: 2.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.1279, allocations: 25.7 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.1279, allocations: 96.05 kB / 444.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.128, allocations: 27.73 kB / 444.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.128, allocations: 13.72 kB / 444.4 MB, free: 2.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.1281, allocations: 318.8 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.1281, allocations: 19.98 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.1282, allocations: 23.97 kB / 444.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1283, allocations: 41.03 kB / 444.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1283, allocations: 8 kB / 444.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001572/0.1285, allocations: 73.58 kB / 444.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1285, allocations: 11.92 kB / 444.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1285, allocations: 4 kB / 444.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1285, allocations: 0 / 444.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/0.1286, allocations: 12 kB / 444.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1286, allocations: 0 / 444.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.694e-05/0.1287, allocations: 11.92 kB / 445 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1287, allocations: 4 kB / 445 MB, free: 2.211 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.435e-05/0.1287, allocations: 121.8 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1288, allocations: 7.906 kB / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.129, allocations: 81.97 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.129, allocations: 7.938 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.129, allocations: 0 / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.129, allocations: 7.922 kB / 445.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.1293, allocations: 342.6 kB / 445.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1294, allocations: 0 / 445.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.1294, allocations: 8 kB / 445.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1294, allocations: 4.172 kB / 445.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1294, allocations: 11.94 kB / 445.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1294, allocations: 0 / 445.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1295, allocations: 0 / 445.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.1296, allocations: 179.4 kB / 445.7 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.1297, allocations: 81.02 kB / 445.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1297, allocations: 3.938 kB / 445.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.1298, allocations: 7.984 kB / 445.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1298, allocations: 11.94 kB / 445.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1298, allocations: 0 / 445.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.517e-05/0.1299, allocations: 123.2 kB / 445.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1299, allocations: 4 kB / 445.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1301, allocations: 12 kB / 446 MB, free: 1.113 MB / 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.001184/0.1313, allocations: 1.004 MB / 447 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.1315, allocations: 55.91 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1316, allocations: 0 / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.698e-05/0.1316, allocations: 27.92 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.132, allocations: 18.02 kB / 447.1 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1337, allocations: 1.417 MB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.134, allocations: 0.6928 MB / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.1341, allocations: 4 kB / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.1341, allocations: 23.42 kB / 449.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1341, allocations: 4 kB / 449.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.1559, allocations: 2.435 MB / 451.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.496, allocations: 19.95 kB / 451.7 MB, free: 11.36 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches