Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001199/0.001199, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001374/0.001374, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.508/1.508, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2428/0.2428, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.002035/0.002035, allocations: 70.02 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1294, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003794/0.1333, allocations: 1.543 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.135, allocations: 0.9416 MB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.861e-05/0.1352, allocations: 0 / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1354, allocations: 27.86 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.1357, allocations: 43.77 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.136, allocations: 67.84 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1362, allocations: 59.84 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1363, allocations: 19.91 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.1364, allocations: 19.92 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1365, allocations: 31.52 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1365, allocations: 0 / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1367, allocations: 59.95 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.1367, allocations: 4 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.1368, allocations: 15.88 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.137, allocations: 95.64 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.137, allocations: 3.938 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.137, allocations: 0 / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.137, allocations: 0 / 0.4903 GB, free: 9.332 MB / 382.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.0005841/0.1376, allocations: 379 kB / 0.4906 GB, free: 8.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.1377, allocations: 15.89 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.1377, allocations: 30.75 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.1378, allocations: 8.891 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.138, allocations: 188.2 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1381, allocations: 4.375 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1381, allocations: 8.375 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1383, allocations: 67.27 kB / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1383, allocations: 0 / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1383, allocations: 0 / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1383, allocations: 4 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/0.1384, allocations: 19.98 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.1389, allocations: 280.8 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.1391, allocations: 46.5 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.1392, allocations: 20.94 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1392, allocations: 0 / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1392, allocations: 30.56 kB / 0.4913 GB, free: 8.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.1392, allocations: 4 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005941/0.1398, allocations: 137.5 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.1399, allocations: 77.11 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1401, allocations: 133.8 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.1401, allocations: 25.7 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.1402, allocations: 88.14 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1402, allocations: 27.72 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.1402, allocations: 25.66 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1404, allocations: 318.8 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.1405, allocations: 15.98 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.1406, allocations: 33.69 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1407, allocations: 48.78 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1407, allocations: 4.031 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002066/0.1409, allocations: 85.8 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.141, allocations: 4 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.141, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.141, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.1411, allocations: 12 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1411, allocations: 0 / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.1411, allocations: 7.984 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1411, allocations: 7.938 kB / 0.4923 GB, free: 6.965 MB / 382.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.496e-05/0.1412, allocations: 117.8 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.1413, allocations: 7.953 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1415, allocations: 93.56 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1415, allocations: 0 / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1416, allocations: 0 / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1416, allocations: 3.984 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.142, allocations: 342.5 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.142, allocations: 4 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.1421, allocations: 11.98 kB / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1421, allocations: 0 / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1421, allocations: 0 / 0.4929 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1421, allocations: 3.938 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1422, allocations: 0 / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1424, allocations: 175.7 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1425, allocations: 93.09 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1426, allocations: 288 / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1426, allocations: 7.938 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.1427, allocations: 3.984 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.1427, allocations: 4 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.139e-05/0.1428, allocations: 107.2 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1428, allocations: 0 / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1431, allocations: 27.88 kB / 0.4933 GB, free: 5.871 MB / 382.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.002105/0.1452, allocations: 1.05 MB / 0.4943 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.1454, allocations: 43.91 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1454, allocations: 8 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.1455, allocations: 15.98 kB / 0.4944 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1459, allocations: 27.83 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1476, allocations: 1.385 MB / 0.4958 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1481, allocations: 0.6846 MB / 0.4964 GB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.361e-05/0.1482, allocations: 11.92 kB / 0.4965 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.1482, allocations: 27.42 kB / 0.4965 GB, free: 2.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1482, allocations: 0 / 0.4965 GB, free: 2.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.1761, allocations: 2.729 MB / 0.4991 GB, free: 15.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.911, allocations: 11.97 kB / 0.4992 GB, free: 15.73 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches