Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",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.001139/0.001139, allocations: 106.2 kB / 16.41 MB, free: 6.508 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.001169/0.001169, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.612/1.612, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2385/0.2385, allocations: 43.52 MB / 314.1 MB, free: 444 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.001413/0.001413, allocations: 65.92 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1394, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.003386/0.1428, allocations: 1.55 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.1435, allocations: 331.5 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.1436, allocations: 0 / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.1438, allocations: 27.84 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.144, allocations: 27.86 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1444, allocations: 99.73 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1446, allocations: 51.84 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1447, allocations: 15.98 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.1447, allocations: 23.86 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.1448, allocations: 23.84 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1448, allocations: 4 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.1449, allocations: 24 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.145, allocations: 19.92 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.145, allocations: 19.88 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1452, allocations: 75.72 kB / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1453, allocations: 0 / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1453, allocations: 0 / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1453, allocations: 0 / 0.4896 GB, free: 9.973 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.0005655/0.1459, allocations: 379.1 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1459, allocations: 11.89 kB / 0.49 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.146, allocations: 38.75 kB / 0.49 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.146, allocations: 4.844 kB / 0.49 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1462, allocations: 188.3 kB / 0.4902 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1463, allocations: 4.375 kB / 0.4902 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1463, allocations: 384 / 0.4902 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1465, allocations: 49.62 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1465, allocations: 0 / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1465, allocations: 0 / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1465, allocations: 0 / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1466, allocations: 31.91 kB / 0.4903 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.147, allocations: 284.8 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.1472, allocations: 50.55 kB / 0.4906 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.1473, allocations: 12.94 kB / 0.4906 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1473, allocations: 4 kB / 0.4906 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1474, allocations: 38.5 kB / 0.4907 GB, free: 8.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1474, allocations: 4 kB / 0.4907 GB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005931/0.148, allocations: 141.4 kB / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.148, allocations: 55.34 kB / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1482, allocations: 141.9 kB / 0.491 GB, free: 8.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1482, allocations: 33.64 kB / 0.491 GB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.1483, allocations: 92.12 kB / 0.4911 GB, free: 8.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1483, allocations: 27.66 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1484, allocations: 17.72 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1485, allocations: 322.8 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.357e-05/0.1486, allocations: 15.98 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.1487, allocations: 23.98 kB / 0.4915 GB, free: 7.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1488, allocations: 53.02 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1488, allocations: 4 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002135/0.149, allocations: 89.5 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1491, allocations: 7.938 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1491, allocations: 0 / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1491, allocations: 4 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.816e-05/0.1492, allocations: 11.98 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1492, allocations: 0 / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1493, allocations: 4 kB / 0.4917 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1493, allocations: 7.938 kB / 0.4917 GB, free: 7.629 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 0.0001058/0.1494, allocations: 129.8 kB / 0.4918 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1495, allocations: 0 / 0.4918 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.1497, allocations: 97.88 kB / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1498, allocations: 3.938 kB / 0.4919 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.1498, allocations: 0 / 0.4919 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1498, allocations: 0 / 0.4919 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.1503, allocations: 350.5 kB / 0.4922 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1503, allocations: 0 / 0.4922 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.1503, allocations: 15.98 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1504, allocations: 0 / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1504, allocations: 4 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.1504, allocations: 7.922 kB / 0.4923 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1504, allocations: 192 / 0.4923 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1507, allocations: 191.4 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.1507, allocations: 77.11 kB / 0.4925 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1508, allocations: 4 kB / 0.4925 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.1508, allocations: 3.938 kB / 0.4925 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.1509, allocations: 11.98 kB / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1509, allocations: 3.938 kB / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.356e-05/0.151, allocations: 111.2 kB / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.151, allocations: 0 / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1513, allocations: 20 kB / 0.4927 GB, free: 6.508 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.001537/0.1528, allocations: 1.003 MB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1531, allocations: 55.97 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1531, allocations: 0 / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.1532, allocations: 27.92 kB / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1535, allocations: 27.8 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.1552, allocations: 1.429 MB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1555, allocations: 0.6924 MB / 0.4958 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.1556, allocations: 15.92 kB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.1557, allocations: 23.42 kB / 0.4959 GB, free: 3.148 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1557, allocations: 0 / 0.4959 GB, free: 3.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.1759, allocations: 2.498 MB / 0.4983 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.64/7.816, allocations: 3.906 kB / 0.4983 GB, free: 0.6328 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches