Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 191 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 51.92 kB / 370.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3572, allocations: 52.17 MB / 422.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.00421/0.3614, allocations: 1.466 MB / 424 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.363, allocations: 0.5716 MB / 424.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.3631, allocations: 3.938 kB / 424.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.3632, allocations: 11.88 kB / 424.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.3633, allocations: 27.78 kB / 424.6 MB, free: 12.27 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.364, allocations: 147.6 kB / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3643, allocations: 107.7 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.674e-05/0.3643, allocations: 13.23 kB / 424.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.3644, allocations: 51.77 kB / 425 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007754/0.3652, allocations: 66.39 kB / 425 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.3652, allocations: 8 kB / 425 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.3656, allocations: 151.7 kB / 425.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.3656, allocations: 27.92 kB / 425.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.393e-05/0.3657, allocations: 51.66 kB / 425.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.3661, allocations: 193.2 kB / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3661, allocations: 4 kB / 425.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3661, allocations: 0 / 425.4 MB, free: 11.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3661, allocations: 0 / 425.4 MB, free: 11.47 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008816/0.367, allocations: 381.4 kB / 425.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.3671, allocations: 12.03 kB / 425.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.856e-05/0.3672, allocations: 38.73 kB / 425.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.3675, allocations: 44.81 kB / 425.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.3678, allocations: 138.3 kB / 426 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.3678, allocations: 15.92 kB / 426.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3678, allocations: 4 kB / 426.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.3681, allocations: 119.3 kB / 426.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3681, allocations: 0 / 426.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3681, allocations: 0 / 426.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3681, allocations: 0 / 426.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.3683, allocations: 63.89 kB / 426.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008844/0.3692, allocations: 403.9 kB / 426.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.3696, allocations: 125.2 kB / 426.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3697, allocations: 49.75 kB / 426.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3697, allocations: 3.938 kB / 426.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.37, allocations: 156.3 kB / 427 MB, free: 9.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.37, allocations: 0 / 427 MB, free: 9.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000591/0.3706, allocations: 238 kB / 427.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.3707, allocations: 97.03 kB / 427.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.371, allocations: 174.2 kB / 427.5 MB, free: 9.258 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.371, allocations: 49.69 kB / 427.5 MB, free: 9.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3711, allocations: 100.6 kB / 427.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.3712, allocations: 51.61 kB / 427.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3713, allocations: 57.92 kB / 427.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3715, allocations: 330.8 kB / 428 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.3717, allocations: 96.47 kB / 428.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.3719, allocations: 136.2 kB / 428.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.3723, allocations: 210.9 kB / 428.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3723, allocations: 0 / 428.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005736/0.3729, allocations: 293.9 kB / 428.8 MB, free: 7.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3729, allocations: 4 kB / 428.8 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3729, allocations: 4 kB / 428.8 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.373, allocations: 4 kB / 428.8 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3731, allocations: 31.86 kB / 428.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3731, allocations: 0 / 428.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.3732, allocations: 27.78 kB / 428.8 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.3733, allocations: 11.98 kB / 428.8 MB, free: 7.824 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001879/0.3734, allocations: 145.9 kB / 429 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.3735, allocations: 11.91 kB / 429 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.3735, allocations: 17.34 kB / 429 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3735, allocations: 3.938 kB / 429 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3735, allocations: 4 kB / 429 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3735, allocations: 0 / 429 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.3738, allocations: 164.7 kB / 429.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3738, allocations: 7.984 kB / 429.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.3738, allocations: 8 kB / 429.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3738, allocations: 0 / 429.2 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3738, allocations: 4 kB / 429.2 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.3738, allocations: 3.938 kB / 429.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3738, allocations: 0 / 429.2 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.3742, allocations: 221.8 kB / 429.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.3743, allocations: 15.98 kB / 429.4 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.3743, allocations: 15.92 kB / 429.5 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.3744, allocations: 15.92 kB / 429.5 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.3744, allocations: 11.98 kB / 429.5 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3744, allocations: 4 kB / 429.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.3746, allocations: 132.2 kB / 429.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3746, allocations: 0 / 429.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000303/0.3749, allocations: 47.92 kB / 429.7 MB, free: 6.93 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001316/0.3762, allocations: 0.9164 MB / 430.6 MB, free: 6.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004575/0.3766, allocations: 174.9 kB / 430.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3766, allocations: 3.938 kB / 430.8 MB, free: 5.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.3768, allocations: 60.08 kB / 430.8 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.377, allocations: 11.94 kB / 430.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.3801, allocations: 2.095 MB / 432.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3802, allocations: 102.3 kB / 433 MB, free: 3.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.318e-05/0.3803, allocations: 16.97 kB / 433 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.3804, allocations: 43.42 kB / 433.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3804, allocations: 0 / 433.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.4168, allocations: 4.247 MB / 437.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.7, allocations: 11.17 kB / 437.3 MB, free: 15.29 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoise.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoise.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: 14.327192481607199]