Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008621/0.0008621, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8853/0.8853, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.338e-05, allocations: 2.281 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002652/0.002676, allocations: 2.038 MB / 441.6 MB, free: 2.188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.004305, allocations: 1.273 MB / 442.9 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.004415, allocations: 7.938 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.722e-05/0.004462, allocations: 19.73 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.004561, allocations: 35.66 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.004976, allocations: 199.1 kB / 443.2 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.005162, allocations: 195.9 kB / 443.4 MB, free: 468 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.005341, allocations: 76.8 kB / 443.4 MB, free: 388 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.005512, allocations: 115.6 kB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.005579, allocations: 59.78 kB / 443.6 MB, free: 212 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.005601, allocations: 16 kB / 443.6 MB, free: 196 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.005793, allocations: 147.8 kB / 443.8 MB, free: 48 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1651/0.1709, allocations: 50.8 kB / 443.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.877e-05/0.171, allocations: 55.61 kB / 443.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.1714, allocations: 340.6 kB / 444.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1714, allocations: 0 / 444.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1715, allocations: 1.344 kB / 444.2 MB, free: 43.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1715, allocations: 0 / 444.2 MB, free: 43.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000379/0.1718, allocations: 464 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1719, allocations: 11.81 kB / 444.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.779e-05/0.1719, allocations: 92.03 kB / 444.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004858/0.1724, allocations: 84.94 kB / 444.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1726, allocations: 155 kB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1726, allocations: 26.16 kB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1727, allocations: 31.44 kB / 445 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1729, allocations: 232.3 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1729, allocations: 192 / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1729, allocations: 13.72 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1729, allocations: 12.25 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1731, allocations: 159.5 kB / 445.5 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.1736, allocations: 0.5679 MB / 446 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1739, allocations: 214.2 kB / 446.2 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.1739, allocations: 66.62 kB / 446.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.1739, allocations: 5.391 kB / 446.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.041e-05/0.1739, allocations: 30.8 kB / 446.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.142e-06/0.1739, allocations: 0 / 446.3 MB, free: 42.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002635/0.1742, allocations: 218.3 kB / 446.5 MB, free: 42.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.1742, allocations: 57.88 kB / 446.6 MB, free: 42.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.023e-05/0.1743, allocations: 105.8 kB / 446.7 MB, free: 42.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.154e-06/0.1743, allocations: 26.47 kB / 446.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.1743, allocations: 156.1 kB / 446.9 MB, free: 42.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1743, allocations: 91.94 kB / 447 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1744, allocations: 45.64 kB / 447 MB, free: 42.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.595e-05/0.1744, allocations: 324.3 kB / 447.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.1744, allocations: 40.33 kB / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.653e-05/0.1745, allocations: 48.25 kB / 447.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1746, allocations: 123.5 kB / 447.5 MB, free: 41.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1746, allocations: 2.344 kB / 447.5 MB, free: 41.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001347/0.1747, allocations: 167 kB / 447.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1747, allocations: 5.781 kB / 447.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1747, allocations: 3.375 kB / 447.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1748, allocations: 3.312 kB / 447.7 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1749, allocations: 102.2 kB / 447.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.1749, allocations: 0 / 447.8 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.175, allocations: 17.88 kB / 447.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.175, allocations: 9.625 kB / 447.8 MB, free: 41.71 MB / 410.7 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 (27): * Single equations (assignments): 27 * 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 5.526e-05/0.175, allocations: 130.4 kB / 448 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.175, allocations: 14.06 kB / 448 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.1751, allocations: 24.06 kB / 448 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1751, allocations: 6.75 kB / 448 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1751, allocations: 0 / 448 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1751, allocations: 3.422 kB / 448 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.1752, allocations: 251.6 kB / 448.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1752, allocations: 2.75 kB / 448.3 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1754, allocations: 102.1 kB / 448.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1754, allocations: 0 / 448.4 MB, free: 41.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1754, allocations: 10.56 kB / 448.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1754, allocations: 0 / 448.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1754, allocations: 0 / 448.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.1755, allocations: 273.2 kB / 448.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.1756, allocations: 20.88 kB / 448.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1756, allocations: 3.375 kB / 448.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-05/0.1756, allocations: 10.38 kB / 448.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.1756, allocations: 18.27 kB / 448.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1756, allocations: 4.969 kB / 448.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.529e-05/0.1757, allocations: 86.41 kB / 448.8 MB, free: 41.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1757, allocations: 4 kB / 448.8 MB, free: 41.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001644/0.1758, allocations: 61.69 kB / 448.8 MB, free: 41.16 MB / 410.7 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 (27): * Single equations (assignments): 27 * 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.0003341/0.1762, allocations: 0.8671 MB / 449.7 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.1763, allocations: 127.8 kB / 449.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1763, allocations: 0 / 449.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.1764, allocations: 70 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.1765, allocations: 18.16 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1777, allocations: 1.946 MB / 451.9 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.1777, allocations: 134.1 kB / 452 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.134e-05/0.1778, allocations: 18.8 kB / 452 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.1778, allocations: 67.78 kB / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1778, allocations: 0 / 452.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.1917, allocations: 3.348 MB / 455.4 MB, free: 37.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.423, allocations: 12.41 kB / 455.4 MB, free: 37.92 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_0_0_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.5328129241243]