Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",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.001369/0.001369, allocations: 107 kB / 17.33 MB, free: 6.023 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.001361/0.001361, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 44.18 MB / 336.3 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.83 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1523, allocations: 60.81 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.004789/0.1571, allocations: 1.622 MB / 470.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1594, allocations: 1.004 MB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.1596, allocations: 0 / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.16, allocations: 23.92 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.1603, allocations: 31.91 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.1608, allocations: 103.1 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.161, allocations: 55.84 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.1612, allocations: 15.98 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.1613, allocations: 23.92 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1615, allocations: 27.84 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1616, allocations: 4 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1617, allocations: 47.98 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.1618, allocations: 19.86 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.1619, allocations: 19.86 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1621, allocations: 84.06 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1621, allocations: 4 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1621, allocations: 0 / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.1622, allocations: 4 kB / 471.9 MB, free: 11.54 MB / 350.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.0007177/0.1629, allocations: 375.3 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1629, allocations: 8.031 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.163, allocations: 30.75 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1631, allocations: 8.844 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1633, allocations: 192.2 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1634, allocations: 384 / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.1634, allocations: 16.25 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.1636, allocations: 67.33 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1637, allocations: 0 / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.1637, allocations: 7.938 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1637, allocations: 4 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1638, allocations: 19.98 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.1642, allocations: 280.9 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1645, allocations: 46.5 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.1645, allocations: 20.94 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1646, allocations: 0 / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1646, allocations: 34.56 kB / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1646, allocations: 0 / 473 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005579/0.1652, allocations: 149.3 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.1652, allocations: 77.11 kB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1654, allocations: 140.1 kB / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1654, allocations: 25.7 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.1655, allocations: 96.06 kB / 473.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.1656, allocations: 11.81 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1656, allocations: 21.72 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1658, allocations: 322.8 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.1658, allocations: 19.98 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.1659, allocations: 41.62 kB / 473.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1661, allocations: 52.83 kB / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1661, allocations: 0 / 473.9 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.1663, allocations: 81.61 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1663, allocations: 4 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1663, allocations: 4 kB / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1663, allocations: 0 / 474 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.1664, allocations: 11.98 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1664, allocations: 0 / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.1665, allocations: 11.98 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1665, allocations: 7.875 kB / 474 MB, free: 9.145 MB / 350.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.0001234/0.1666, allocations: 121.8 kB / 474.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1667, allocations: 4.188 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.1669, allocations: 97.61 kB / 474.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1669, allocations: 3.984 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1669, allocations: 0 / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.167, allocations: 0 / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.1675, allocations: 366.7 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1675, allocations: 0 / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.1675, allocations: 11.98 kB / 474.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1676, allocations: 4 kB / 474.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1676, allocations: 3.938 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1676, allocations: 3.938 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1676, allocations: 3.984 kB / 474.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1679, allocations: 187.4 kB / 474.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.1679, allocations: 81.02 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.168, allocations: 4 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.168, allocations: 7.938 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1681, allocations: 7.984 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1681, allocations: 0 / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.675e-05/0.1682, allocations: 103.3 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1682, allocations: 0 / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1685, allocations: 28 kB / 475.1 MB, free: 8.02 MB / 350.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.001436/0.1699, allocations: 1.051 MB / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1701, allocations: 55.89 kB / 476.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1701, allocations: 0 / 476.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.1702, allocations: 27.98 kB / 476.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.1706, allocations: 19.92 kB / 476.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1722, allocations: 1.426 MB / 477.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1725, allocations: 0.6885 MB / 478.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.646e-05/0.1726, allocations: 24.41 kB / 478.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.1727, allocations: 19.44 kB / 478.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1727, allocations: 0 / 478.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.1882, allocations: 2.606 MB / 481 MB, free: 2.242 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.1885, allocations: 240.4 kB / 481.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.165, allocations: 3.938 kB / 481.2 MB, free: 1.984 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches