Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16",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.0007689/0.000769, allocations: 103.3 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 185.1 kB / 16.92 MB, free: 6.918 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.68/1.68, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4532/0.4532, allocations: 43.58 MB / 315 MB, free: 8.988 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.0005751/0.0005755, allocations: 12 kB / 384.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1497, allocations: 58.87 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.002436/0.1522, allocations: 1.271 MB / 444.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007492/0.153, allocations: 319.7 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.153, allocations: 4 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1534, allocations: 75.84 kB / 445.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.1535, allocations: 59.8 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1538, allocations: 79.91 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.154, allocations: 63.81 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1541, allocations: 20.27 kB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.1542, allocations: 23.86 kB / 445.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1543, allocations: 51.88 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1543, allocations: 0 / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.1544, allocations: 27.98 kB / 445.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.1544, allocations: 19.88 kB / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.1545, allocations: 61.42 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.1547, allocations: 83.66 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1547, allocations: 0 / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1547, allocations: 3.938 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1547, allocations: 4 kB / 445.7 MB, free: 10.66 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.0004741/0.1552, allocations: 387.1 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1552, allocations: 8.031 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1553, allocations: 30.75 kB / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.1553, allocations: 12.84 kB / 446.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.1555, allocations: 196.1 kB / 446.3 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1556, allocations: 8.312 kB / 446.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1556, allocations: 4.375 kB / 446.3 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1557, allocations: 53.62 kB / 446.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1558, allocations: 0 / 446.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1558, allocations: 0 / 446.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.1558, allocations: 0 / 446.4 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.96e-05/0.1559, allocations: 31.97 kB / 446.4 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1563, allocations: 292.9 kB / 446.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1565, allocations: 50.48 kB / 446.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/0.1566, allocations: 16.86 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1566, allocations: 4.078 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1567, allocations: 34.56 kB / 446.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1567, allocations: 0 / 446.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006259/0.1573, allocations: 177.1 kB / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1574, allocations: 51.41 kB / 447 MB, free: 9.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1576, allocations: 198.2 kB / 447.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1576, allocations: 33.64 kB / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.1577, allocations: 100.1 kB / 447.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1577, allocations: 19.7 kB / 447.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.1577, allocations: 13.72 kB / 447.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1579, allocations: 326.8 kB / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.158, allocations: 27.98 kB / 447.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.158, allocations: 23.98 kB / 447.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1582, allocations: 64.77 kB / 447.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1582, allocations: 0 / 447.8 MB, free: 8.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002015/0.1584, allocations: 97.56 kB / 447.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1584, allocations: 4 kB / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1585, allocations: 0 / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1585, allocations: 0 / 447.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.471e-05/0.1585, allocations: 19.98 kB / 447.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1586, allocations: 0 / 447.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.1586, allocations: 12.19 kB / 447.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1586, allocations: 3.938 kB / 448 MB, free: 8.164 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.472e-05/0.1587, allocations: 129.8 kB / 448.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.1588, allocations: 11.91 kB / 448.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.159, allocations: 113.9 kB / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.159, allocations: 3.984 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.159, allocations: 0 / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1591, allocations: 0 / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.1595, allocations: 374.4 kB / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1595, allocations: 0 / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1596, allocations: 12 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1596, allocations: 0 / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1596, allocations: 3.984 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1596, allocations: 7.938 kB / 448.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1596, allocations: 0 / 448.6 MB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1599, allocations: 191.3 kB / 448.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.1599, allocations: 89 kB / 448.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1599, allocations: 3.938 kB / 448.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.16, allocations: 11.94 kB / 448.9 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.1601, allocations: 7.984 kB / 448.9 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.1601, allocations: 11.94 kB / 448.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1602, allocations: 160 kB / 449.1 MB, free: 6.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1602, allocations: 0 / 449.1 MB, free: 6.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1604, allocations: 12 kB / 449.1 MB, free: 6.938 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.001357/0.1618, allocations: 1.02 MB / 450.1 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.162, allocations: 63.91 kB / 450.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.162, allocations: 0 / 450.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.1621, allocations: 35.97 kB / 450.2 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1625, allocations: 19.88 kB / 450.2 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.1643, allocations: 1.612 MB / 451.8 MB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1647, allocations: 0.7004 MB / 452.5 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.1648, allocations: 16.06 kB / 452.5 MB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.1648, allocations: 31.42 kB / 452.6 MB, free: 3.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1648, allocations: 0 / 452.6 MB, free: 3.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.1766, allocations: 2.32 MB / 454.9 MB, free: 1.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.1768, allocations: 239.3 kB / 455.1 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/1.95, allocations: 0 / 455.1 MB, free: 0.7578 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches