Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.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.001763/0.001763, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002099/0.002099, allocations: 187.3 kB / 24.45 MB, free: 3.961 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.457/1.457, allocations: 225.7 MB / 253.3 MB, free: 12.81 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: translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.NormalNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 47.92 kB / 371.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2628, allocations: 52.19 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.NormalNoiseProperties): time 0.003566/0.2664, allocations: 1.789 MB / 425.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.2688, allocations: 1.181 MB / 426.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.43e-05/0.2689, allocations: 4 kB / 426.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.269, allocations: 19.73 kB / 426.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2691, allocations: 31.73 kB / 426.9 MB, free: 11.41 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.0009612/0.27, allocations: 327 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.2703, allocations: 219.5 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.2705, allocations: 48.36 kB / 427.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2706, allocations: 95.62 kB / 427.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/0.2712, allocations: 111.5 kB / 427.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.2713, allocations: 20 kB / 427.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005584/0.2718, allocations: 319.4 kB / 428 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.2719, allocations: 51.83 kB / 428 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.272, allocations: 87.52 kB / 428.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.2726, allocations: 389.5 kB / 428.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2726, allocations: 0 / 428.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2726, allocations: 0 / 428.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2726, allocations: 0 / 428.5 MB, free: 9.785 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.001129/0.2737, allocations: 0.5097 MB / 429 MB, free: 9.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2738, allocations: 12.03 kB / 429 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.274, allocations: 32.78 kB / 429 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.2743, allocations: 187.6 kB / 429.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.2743, allocations: 12.28 kB / 429.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.2744, allocations: 20 kB / 429.3 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.2749, allocations: 206.9 kB / 429.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2749, allocations: 0 / 429.5 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.2749, allocations: 7.938 kB / 429.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2749, allocations: 4 kB / 429.5 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.2754, allocations: 156.1 kB / 429.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.2764, allocations: 472.3 kB / 430.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.2775, allocations: 301.9 kB / 430.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.2778, allocations: 104.8 kB / 430.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.2778, allocations: 4 kB / 430.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.2782, allocations: 167.3 kB / 430.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/0.2782, allocations: 0 / 430.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001044/0.2793, allocations: 363 kB / 431 MB, free: 7.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.2793, allocations: 59.34 kB / 431.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.2796, allocations: 190.4 kB / 431.2 MB, free: 6.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.2796, allocations: 37.7 kB / 431.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2797, allocations: 132.6 kB / 431.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.2798, allocations: 71.39 kB / 431.5 MB, free: 6.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2799, allocations: 73.67 kB / 431.6 MB, free: 6.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.28, allocations: 334.8 kB / 431.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.2804, allocations: 127.9 kB / 432 MB, free: 6.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.2808, allocations: 161.6 kB / 432.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.2814, allocations: 275.1 kB / 432.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2815, allocations: 4 kB / 432.4 MB, free: 5.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008659/0.2823, allocations: 372.6 kB / 432.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2823, allocations: 4 kB / 432.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2823, allocations: 0 / 432.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2824, allocations: 7.938 kB / 432.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.2827, allocations: 63.94 kB / 432.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.2827, allocations: 7.938 kB / 432.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2829, allocations: 51.72 kB / 432.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.2829, allocations: 8 kB / 432.9 MB, free: 5.148 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.0001918/0.2831, allocations: 150.6 kB / 433.1 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.2831, allocations: 11.91 kB / 433.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.2832, allocations: 17.97 kB / 433.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2832, allocations: 4 kB / 433.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2832, allocations: 0 / 433.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2832, allocations: 7.984 kB / 433.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.2844, allocations: 0.5424 MB / 433.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2844, allocations: 0 / 433.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.2846, allocations: 51.89 kB / 433.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2846, allocations: 0 / 433.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.2847, allocations: 11.98 kB / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.2847, allocations: 0 / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2847, allocations: 0 / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.2858, allocations: 479.6 kB / 434.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.2858, allocations: 27.78 kB / 434.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.2859, allocations: 8.062 kB / 434.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.286, allocations: 19.97 kB / 434.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.2861, allocations: 19.91 kB / 434.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.2861, allocations: 11.98 kB / 434.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.2863, allocations: 136.3 kB / 434.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2863, allocations: 0 / 434.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004811/0.2867, allocations: 103.7 kB / 434.5 MB, free: 3.508 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.0006819/0.2874, allocations: 268.9 kB / 434.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007877/0.2882, allocations: 272.4 kB / 435.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2882, allocations: 3.938 kB / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.2885, allocations: 103.9 kB / 435.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2889, allocations: 27.92 kB / 435.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000959/0.2898, allocations: 499 kB / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.29, allocations: 125.2 kB / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.2901, allocations: 31.42 kB / 435.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2901, allocations: 0 / 435.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Templates: time 0.007486/0.2975, allocations: 4.065 MB / 439.9 MB, free: 14.11 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 11.419021431356668]