Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001112/0.001112, allocations: 107.5 kB / 16.27 MB, free: 6.41 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.001108/0.001108, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.37/1.37, 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.2164/0.2164, allocations: 43.51 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.001475/0.001475, allocations: 75.72 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1219, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002901/0.1249, allocations: 1.551 MB / 442.2 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000504/0.1254, allocations: 315.5 kB / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.1254, allocations: 0 / 442.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1257, allocations: 127.6 kB / 442.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.1259, allocations: 95.73 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.1262, allocations: 59.8 kB / 442.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1263, allocations: 79.86 kB / 442.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.1264, allocations: 15.98 kB / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.159e-05/0.1265, allocations: 35.91 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1266, allocations: 87.72 kB / 443 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1266, allocations: 4 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.956e-05/0.1267, allocations: 31.98 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.1267, allocations: 23.91 kB / 443 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.1268, allocations: 35.69 kB / 443.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1269, allocations: 103.6 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1269, allocations: 0 / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1269, allocations: 0 / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.127, allocations: 0 / 443.2 MB, free: 4.215 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.0003976/0.1274, allocations: 422.8 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1274, allocations: 11.89 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.38e-05/0.1274, allocations: 34.69 kB / 443.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.1275, allocations: 16.75 kB / 443.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1276, allocations: 204 kB / 443.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-06/0.1276, allocations: 384 / 443.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.1276, allocations: 384 / 443.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1278, allocations: 53.62 kB / 443.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1278, allocations: 0 / 443.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.1278, allocations: 4 kB / 443.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1278, allocations: 0 / 443.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.1279, allocations: 27.98 kB / 443.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.1282, allocations: 292.8 kB / 444.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1284, allocations: 38.56 kB / 444.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.1284, allocations: 24.94 kB / 444.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1285, allocations: 0 / 444.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.1285, allocations: 34.5 kB / 444.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1285, allocations: 0 / 444.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004986/0.129, allocations: 153.1 kB / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.129, allocations: 59.34 kB / 444.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1292, allocations: 266.3 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.1292, allocations: 29.7 kB / 444.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.1293, allocations: 116 kB / 444.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1293, allocations: 15.75 kB / 444.9 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.1293, allocations: 21.7 kB / 445 MB, free: 2.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.984e-05/0.1294, allocations: 326.8 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/0.1295, allocations: 19.98 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.265e-05/0.1295, allocations: 23.98 kB / 445.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1296, allocations: 40.83 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1297, allocations: 0 / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001504/0.1298, allocations: 81.58 kB / 445.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1298, allocations: 5.25 kB / 445.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1298, allocations: 0 / 445.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1299, allocations: 0 / 445.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.759e-05/0.1299, allocations: 23.92 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1299, allocations: 0 / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.13, allocations: 8 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.13, allocations: 3.938 kB / 445.5 MB, free: 1.668 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.599e-05/0.1301, allocations: 133.8 kB / 445.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1301, allocations: 11.81 kB / 445.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.1303, allocations: 103 kB / 445.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1303, allocations: 4 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1303, allocations: 0 / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1303, allocations: 0 / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.1307, allocations: 362.4 kB / 446.1 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1307, allocations: 4 kB / 446.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.1307, allocations: 8 kB / 446.1 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1307, allocations: 3.984 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1307, allocations: 4 kB / 446.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1308, allocations: 3.938 kB / 446.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1308, allocations: 0 / 446.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.131, allocations: 187.2 kB / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.131, allocations: 88.92 kB / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.131, allocations: 0 / 446.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.1311, allocations: 15.92 kB / 446.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1311, allocations: 4 kB / 446.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1311, allocations: 4 kB / 446.4 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1313, allocations: 199.2 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1313, allocations: 0 / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1315, allocations: 16 kB / 446.6 MB, free: 448 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.001201/0.1327, allocations: 1.012 MB / 447.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1329, allocations: 51.95 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1329, allocations: 0 / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.133, allocations: 27.92 kB / 447.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1334, allocations: 21.97 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.1353, allocations: 1.679 MB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1356, allocations: 0.7157 MB / 450.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.732e-05/0.1357, allocations: 12 kB / 450.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.318e-05/0.1357, allocations: 31.42 kB / 450.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1358, allocations: 0 / 450.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.157, allocations: 2.946 MB / 453.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/7.829, allocations: 19.89 kB / 453.1 MB, free: 9.871 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches