Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 209.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.635/1.635, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.89 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3221, allocations: 53.41 MB / 431.2 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003299/0.3254, allocations: 1.809 MB / 433 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3277, allocations: 1.239 MB / 434.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.3278, allocations: 4 kB / 434.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.3279, allocations: 19.73 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.328, allocations: 31.67 kB / 434.3 MB, free: 3.32 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.0008441/0.3289, allocations: 323.1 kB / 434.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.3291, allocations: 215.5 kB / 434.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3293, allocations: 56.33 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3294, allocations: 103.6 kB / 434.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005703/0.3299, allocations: 110.6 kB / 435 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.33, allocations: 24 kB / 435.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.3305, allocations: 319.4 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.067e-05/0.3306, allocations: 59.81 kB / 435.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3307, allocations: 83.52 kB / 435.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005984/0.3313, allocations: 388.5 kB / 435.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3313, allocations: 0 / 435.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3313, allocations: 0 / 435.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.3313, allocations: 4 kB / 435.9 MB, free: 1.672 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001179/0.3325, allocations: 0.5097 MB / 436.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3326, allocations: 11.98 kB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.3327, allocations: 54.69 kB / 436.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.3329, allocations: 32.78 kB / 436.5 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.3332, allocations: 182.2 kB / 436.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.3332, allocations: 20.38 kB / 436.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.3332, allocations: 20.33 kB / 436.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.3337, allocations: 211.4 kB / 436.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3338, allocations: 0 / 436.9 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.3338, allocations: 8 kB / 436.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3338, allocations: 11.86 kB / 437 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.3343, allocations: 156.2 kB / 437.1 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.3354, allocations: 0.5038 MB / 437.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.3364, allocations: 298.6 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.3367, allocations: 108.8 kB / 438 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3367, allocations: 7.938 kB / 438 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004138/0.3372, allocations: 170.6 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.3372, allocations: 0 / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001073/0.3382, allocations: 357.2 kB / 438.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.3383, allocations: 59.39 kB / 438.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.3386, allocations: 222.7 kB / 438.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.3386, allocations: 33.7 kB / 438.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3387, allocations: 132.6 kB / 439 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/0.3388, allocations: 75.38 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3389, allocations: 77.67 kB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3391, allocations: 330.8 kB / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.3395, allocations: 127.9 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.3399, allocations: 165.6 kB / 439.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.3405, allocations: 275.1 kB / 440 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3405, allocations: 0 / 440 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008538/0.3414, allocations: 382.5 kB / 440.4 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3414, allocations: 4 kB / 440.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3414, allocations: 3.984 kB / 440.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3414, allocations: 4 kB / 440.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.3417, allocations: 63.89 kB / 440.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3417, allocations: 11.97 kB / 440.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.3419, allocations: 43.81 kB / 440.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.3419, allocations: 4 kB / 440.5 MB, free: 12.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.3421, allocations: 149.6 kB / 440.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.3422, allocations: 23.86 kB / 440.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.972e-05/0.3422, allocations: 21.95 kB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3422, allocations: 4 kB / 440.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3422, allocations: 8 kB / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3422, allocations: 0 / 440.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.3434, allocations: 0.5675 MB / 441.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3434, allocations: 0 / 441.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.3437, allocations: 55.89 kB / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3437, allocations: 0 / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.3437, allocations: 0 / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3437, allocations: 4 kB / 441.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3437, allocations: 0 / 441.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.3448, allocations: 489.7 kB / 441.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.3448, allocations: 23.86 kB / 441.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.3448, allocations: 7.938 kB / 441.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.345, allocations: 27.91 kB / 441.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.3451, allocations: 19.91 kB / 441.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3451, allocations: 8 kB / 441.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.3452, allocations: 152.9 kB / 442 MB, free: 11.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3452, allocations: 4 kB / 442.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004533/0.3457, allocations: 99.73 kB / 442.1 MB, free: 11.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001969/0.3477, allocations: 1.181 MB / 443.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007835/0.3484, allocations: 268.3 kB / 443.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3485, allocations: 0 / 443.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.3488, allocations: 107.8 kB / 443.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3491, allocations: 32.19 kB / 443.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.3536, allocations: 2.817 MB / 446.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.3538, allocations: 133.2 kB / 446.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.3539, allocations: 33.94 kB / 446.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.3541, allocations: 67.41 kB / 446.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3541, allocations: 0 / 446.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.3917, allocations: 6.775 MB / 453.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.34, allocations: 19.78 kB / 453.6 MB, free: 15.75 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_trunk_Modelica_Blocks_Examples_Noise_NormalNoiseProperties.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable mean.y in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable mean.y from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_trunk_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.917167567182332]