Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.0009143/0.0009144, allocations: 96.94 kB / 16.02 MB, free: 84 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.001035/0.001035, allocations: 181.5 kB / 16.91 MB, free: 6.914 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.501/1.501, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.4496/0.4496, allocations: 43.57 MB / 315 MB, free: 9.047 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.0005661/0.000566, allocations: 16.56 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1521, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.002364/0.1545, allocations: 1.279 MB / 444.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.1553, allocations: 307.7 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.1554, allocations: 0 / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.1557, allocations: 123.8 kB / 445.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.156, allocations: 83.75 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.1563, allocations: 83.91 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1565, allocations: 79.8 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1567, allocations: 20.25 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.1568, allocations: 35.84 kB / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1569, allocations: 71.86 kB / 445.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1569, allocations: 3.938 kB / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.157, allocations: 35.91 kB / 445.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.1571, allocations: 27.86 kB / 445.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.1572, allocations: 53.44 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1574, allocations: 103.6 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1574, allocations: 0 / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.1574, allocations: 4 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.1575, allocations: 0 / 445.8 MB, free: 10.51 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.0005169/0.158, allocations: 407 kB / 446.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.158, allocations: 8.031 kB / 446.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.1581, allocations: 30.75 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.1581, allocations: 12.84 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1583, allocations: 215.7 kB / 446.5 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1583, allocations: 384 / 446.5 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1584, allocations: 4.375 kB / 446.5 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1585, allocations: 57.62 kB / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1586, allocations: 3.938 kB / 446.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1586, allocations: 0 / 446.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1586, allocations: 3.984 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1587, allocations: 31.98 kB / 446.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1591, allocations: 300.8 kB / 446.9 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1594, allocations: 50.48 kB / 446.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.1595, allocations: 20.94 kB / 447 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1595, allocations: 0 / 447 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1595, allocations: 34.56 kB / 447 MB, free: 9.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.1595, allocations: 4 kB / 447 MB, free: 9.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006514/0.1602, allocations: 181 kB / 447.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.1603, allocations: 51.41 kB / 447.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1605, allocations: 263.3 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1606, allocations: 29.7 kB / 447.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.1607, allocations: 108.1 kB / 447.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1607, allocations: 19.75 kB / 447.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.1607, allocations: 9.719 kB / 447.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1609, allocations: 334.8 kB / 448 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.161, allocations: 27.98 kB / 448 MB, free: 8.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.069e-05/0.1611, allocations: 27.92 kB / 448 MB, free: 8.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1612, allocations: 56.83 kB / 448.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1612, allocations: 4 kB / 448.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001976/0.1614, allocations: 97.47 kB / 448.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1615, allocations: 8 kB / 448.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1615, allocations: 0 / 448.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1615, allocations: 0 / 448.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.1616, allocations: 19.94 kB / 448.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1616, allocations: 3.984 kB / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.1617, allocations: 8 kB / 448.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1617, allocations: 3.938 kB / 448.2 MB, free: 7.887 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.0001168/0.1618, allocations: 133.8 kB / 448.4 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.1618, allocations: 15.81 kB / 448.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.1621, allocations: 114.6 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1621, allocations: 0 / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1621, allocations: 4 kB / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1621, allocations: 4.25 kB / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.1627, allocations: 386.4 kB / 448.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1628, allocations: 0 / 448.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.1628, allocations: 12 kB / 448.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1628, allocations: 0 / 448.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1628, allocations: 0 / 448.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1629, allocations: 3.938 kB / 448.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1629, allocations: 7.984 kB / 448.9 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1631, allocations: 195.3 kB / 449.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.1632, allocations: 89 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.1632, allocations: 4 kB / 449.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.1633, allocations: 11.94 kB / 449.2 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.1634, allocations: 7.984 kB / 449.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1634, allocations: 0 / 449.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.1636, allocations: 203.4 kB / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1636, allocations: 0 / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1638, allocations: 20 kB / 449.4 MB, free: 6.586 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.001434/0.1653, allocations: 1.024 MB / 450.4 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.1655, allocations: 71.83 kB / 450.5 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1655, allocations: 0 / 450.5 MB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/0.1656, allocations: 27.98 kB / 450.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.166, allocations: 19.92 kB / 450.6 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.1681, allocations: 1.743 MB / 452.3 MB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1685, allocations: 0.7121 MB / 453 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.1685, allocations: 16.05 kB / 453 MB, free: 2.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.1686, allocations: 39.42 kB / 453.1 MB, free: 2.844 MB / 382.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1686, allocations: 0 / 453.1 MB, free: 2.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.1834, allocations: 2.605 MB / 455.7 MB, free: 244 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2964/0.4798, allocations: 232.1 kB / 455.9 MB, free: 47.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.309, allocations: 1.688 kB / 455.9 MB, free: 47.98 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches