Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.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.001842/0.001842, allocations: 103.6 kB / 20.43 MB, free: 1.211 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.001969/0.001969, allocations: 186 kB / 23.71 MB, free: 4.434 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.507/1.507, allocations: 225.7 MB / 252.5 MB, free: 12.83 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.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 47.92 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2696, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.UniformNoiseProperties): time 0.003078/0.2726, allocations: 1.789 MB / 424.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2744, allocations: 0.9549 MB / 425.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.2745, allocations: 0 / 425.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.2746, allocations: 19.73 kB / 425.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.2748, allocations: 35.67 kB / 425.4 MB, free: 11.57 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.0006105/0.2754, allocations: 187.5 kB / 425.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.2757, allocations: 219.5 kB / 425.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2758, allocations: 52.34 kB / 425.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.276, allocations: 95.69 kB / 425.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.2765, allocations: 111.4 kB / 426 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.2766, allocations: 24 kB / 426 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.2769, allocations: 159.7 kB / 426.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.674e-05/0.277, allocations: 55.83 kB / 426.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.2771, allocations: 91.56 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.2776, allocations: 292.7 kB / 426.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2776, allocations: 0 / 426.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2776, allocations: 0 / 426.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.2776, allocations: 0 / 426.6 MB, free: 10.3 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.001145/0.2787, allocations: 498.1 kB / 427.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.2787, allocations: 8.031 kB / 427.1 MB, free: 9.777 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.237e-05/0.2788, allocations: 54.73 kB / 427.2 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.2791, allocations: 36.78 kB / 427.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.2793, allocations: 183.4 kB / 427.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.2794, allocations: 19.94 kB / 427.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.2794, allocations: 27.94 kB / 427.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.2799, allocations: 207.3 kB / 427.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2799, allocations: 0 / 427.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.28, allocations: 4 kB / 427.7 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.28, allocations: 4 kB / 427.7 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.2804, allocations: 156.1 kB / 427.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.2815, allocations: 0.4998 MB / 428.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.2825, allocations: 305.9 kB / 428.6 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.2828, allocations: 112.7 kB / 428.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2828, allocations: 4 kB / 428.7 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004156/0.2832, allocations: 167.3 kB / 428.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.2832, allocations: 0 / 428.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001013/0.2842, allocations: 353.2 kB / 429.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.2843, allocations: 67.34 kB / 429.3 MB, free: 7.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.2845, allocations: 211.7 kB / 429.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.2846, allocations: 41.7 kB / 429.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.2847, allocations: 132.6 kB / 429.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.2848, allocations: 79.45 kB / 429.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2849, allocations: 61.69 kB / 429.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.285, allocations: 342.8 kB / 430.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.2854, allocations: 131.9 kB / 430.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.2857, allocations: 157.4 kB / 430.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.2864, allocations: 272.5 kB / 430.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2864, allocations: 0 / 430.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008718/0.2872, allocations: 377.2 kB / 431.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2873, allocations: 8 kB / 431.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2873, allocations: 0 / 431.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2873, allocations: 0 / 431.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.2876, allocations: 67.89 kB / 431.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.2876, allocations: 7.922 kB / 431.1 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.2878, allocations: 47.73 kB / 431.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.2878, allocations: 12 kB / 431.2 MB, free: 5.531 MB / 334.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.0001679/0.288, allocations: 141.6 kB / 431.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.288, allocations: 19.86 kB / 431.4 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.2881, allocations: 25.95 kB / 431.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2881, allocations: 4 kB / 431.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.2881, allocations: 3.938 kB / 431.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2881, allocations: 7.984 kB / 431.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.2893, allocations: 0.5732 MB / 432 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2893, allocations: 0 / 432 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.2895, allocations: 43.97 kB / 432 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2895, allocations: 0 / 432 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.2896, allocations: 15.92 kB / 432 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2896, allocations: 0 / 432 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2896, allocations: 3.938 kB / 432 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2906, allocations: 489.3 kB / 432.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.2906, allocations: 23.78 kB / 432.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.2907, allocations: 12 kB / 432.5 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.2909, allocations: 23.97 kB / 432.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.2909, allocations: 7.984 kB / 432.6 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.2909, allocations: 11.98 kB / 432.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.2911, allocations: 155.2 kB / 432.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2911, allocations: 0 / 432.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.2915, allocations: 63.88 kB / 432.8 MB, free: 3.852 MB / 334.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 (18): * Single equations (assignments): 16 * 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.001765/0.2932, allocations: 1.132 MB / 433.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007372/0.294, allocations: 265.8 kB / 434.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.294, allocations: 0 / 434.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.2943, allocations: 111.9 kB / 434.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2946, allocations: 23.09 kB / 434.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.299, allocations: 2.796 MB / 437.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.2992, allocations: 129.2 kB / 437.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.2993, allocations: 33.92 kB / 437.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.2994, allocations: 71.41 kB / 437.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2994, allocations: 0 / 437.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.3353, allocations: 6.044 MB / 443.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.76, allocations: 11.33 kB / 443.4 MB, free: 9.309 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_UniformNoiseProperties.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable mean.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable mean.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable standardDeviation.variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable standardDeviation.variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.mu in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.mu from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! Error: Could not read variable variance.var in file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv. Warning: Get data of variable variance.var from file Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.48819604795426]