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.001433/0.001433, allocations: 112 kB / 20.43 MB, free: 1.457 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.001421/0.001421, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.521/1.521, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.001571/0.001571, allocations: 51.92 kB / 370.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3415, allocations: 52.19 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoise): time 0.003279/0.3448, allocations: 1.482 MB / 424.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3462, allocations: 0.595 MB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.3463, allocations: 3.938 kB / 424.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.3464, allocations: 11.86 kB / 424.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.05e-05/0.3465, allocations: 23.81 kB / 424.7 MB, free: 12.46 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.0007233/0.3472, allocations: 143.6 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.3474, allocations: 123.6 kB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.3475, allocations: 5.297 kB / 425 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.808e-05/0.3476, allocations: 51.83 kB / 425.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006642/0.3482, allocations: 70.39 kB / 425.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.3483, allocations: 12 kB / 425.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003236/0.3486, allocations: 143.8 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.3487, allocations: 39.83 kB / 425.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.3488, allocations: 55.67 kB / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003864/0.3491, allocations: 199.7 kB / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3492, allocations: 0 / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3492, allocations: 0 / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.3492, allocations: 0 / 425.6 MB, free: 11.64 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.0008279/0.35, allocations: 389.3 kB / 426 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.35, allocations: 12.03 kB / 426 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.328e-05/0.3501, allocations: 34.73 kB / 426 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/0.3505, allocations: 44.83 kB / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3507, allocations: 138.3 kB / 426.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.3507, allocations: 15.92 kB / 426.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3507, allocations: 4 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.351, allocations: 123.2 kB / 426.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.351, allocations: 0 / 426.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.351, allocations: 4 kB / 426.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.351, allocations: 0 / 426.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.3512, allocations: 59.95 kB / 426.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007741/0.352, allocations: 423.8 kB / 426.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.3523, allocations: 121.2 kB / 426.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3524, allocations: 45.78 kB / 427 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3524, allocations: 7.938 kB / 427 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/0.3527, allocations: 137.1 kB / 427.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.3527, allocations: 0 / 427.1 MB, free: 9.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005674/0.3533, allocations: 245.5 kB / 427.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.3534, allocations: 93.05 kB / 427.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.3536, allocations: 182.2 kB / 427.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.3536, allocations: 41.69 kB / 427.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.3537, allocations: 116.5 kB / 427.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.3538, allocations: 47.62 kB / 427.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.3538, allocations: 49.94 kB / 427.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.354, allocations: 330.8 kB / 428.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.3542, allocations: 96.47 kB / 428.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3544, allocations: 136.3 kB / 428.4 MB, free: 8.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.3548, allocations: 207.5 kB / 428.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3548, allocations: 0 / 428.6 MB, free: 8.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005407/0.3554, allocations: 297.5 kB / 428.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3554, allocations: 4 kB / 428.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3554, allocations: 4 kB / 428.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.3554, allocations: 0 / 428.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.3556, allocations: 35.84 kB / 428.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.3556, allocations: 4 kB / 428.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.3557, allocations: 23.83 kB / 429 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.3557, allocations: 8.469 kB / 429 MB, free: 7.98 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.0001807/0.3559, allocations: 153.8 kB / 429.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.3559, allocations: 11.91 kB / 429.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.31e-05/0.356, allocations: 17.39 kB / 429.2 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.356, allocations: 7.938 kB / 429.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.356, allocations: 0 / 429.2 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.356, allocations: 3.938 kB / 429.2 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.3562, allocations: 172.7 kB / 429.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3562, allocations: 0 / 429.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.3563, allocations: 7.984 kB / 429.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.3563, allocations: 8 kB / 429.4 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3563, allocations: 4 kB / 429.4 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3563, allocations: 3.938 kB / 429.4 MB, free: 7.543 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3563, allocations: 7.938 kB / 429.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.3567, allocations: 221.8 kB / 429.6 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.3567, allocations: 11.91 kB / 429.6 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.47e-05/0.3568, allocations: 15.98 kB / 429.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.897e-05/0.3568, allocations: 11.94 kB / 429.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.3569, allocations: 11.97 kB / 429.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3569, allocations: 4 kB / 429.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.357, allocations: 132.2 kB / 429.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.357, allocations: 0 / 429.8 MB, free: 7.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.3573, allocations: 47.92 kB / 429.8 MB, free: 7.066 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.001295/0.3586, allocations: 0.9139 MB / 430.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004423/0.3591, allocations: 171.8 kB / 430.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3591, allocations: 4 kB / 430.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3592, allocations: 51.91 kB / 431 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.3594, allocations: 22.41 kB / 431 MB, free: 5.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.3621, allocations: 2.103 MB / 433.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3625, allocations: 0.7041 MB / 433.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.861e-05/0.3626, allocations: 25.09 kB / 433.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.3627, allocations: 39.42 kB / 433.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3627, allocations: 0 / 433.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.3972, allocations: 3.857 MB / 437.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.41, allocations: 0 / 437.7 MB, free: 15.19 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.16494323400184]