Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 85.67 kB / 21.43 MB, free: 296 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002347/0.002347, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.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_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 3.938 kB / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.622e-05/3.849e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003668/0.003706, allocations: 1.774 MB / 300.7 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002668/0.006375, allocations: 1.213 MB / 302 MB, free: 5.699 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.006478, allocations: 4 kB / 302 MB, free: 5.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.006618, allocations: 15.75 kB / 302 MB, free: 5.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.006735, allocations: 31.67 kB / 302 MB, free: 5.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.007838, allocations: 330.8 kB / 302.3 MB, free: 5.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.008165, allocations: 227.4 kB / 302.5 MB, free: 5.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.008355, allocations: 48.55 kB / 302.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.008551, allocations: 135.7 kB / 302.7 MB, free: 4.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.008715, allocations: 87.75 kB / 302.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.008767, allocations: 24 kB / 302.8 MB, free: 4.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006116/0.009379, allocations: 331.2 kB / 303.2 MB, free: 4.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-05/0.009468, allocations: 55.81 kB / 303.2 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.902e-05/0.009567, allocations: 71.75 kB / 303.3 MB, free: 4.367 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.01027, allocations: 450.7 kB / 303.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.01028, allocations: 0 / 303.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01028, allocations: 0 / 303.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.01028, allocations: 0 / 303.7 MB, free: 3.926 MB / 286.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.001366/0.01165, allocations: 0.5136 MB / 304.2 MB, free: 3.383 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.01171, allocations: 11.98 kB / 304.2 MB, free: 3.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002951/0.012, allocations: 36.78 kB / 304.3 MB, free: 3.336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.01237, allocations: 190.1 kB / 304.5 MB, free: 3.125 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/0.01241, allocations: 20.59 kB / 304.5 MB, free: 3.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.01248, allocations: 20.38 kB / 304.5 MB, free: 3.086 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006074/0.01309, allocations: 199 kB / 304.7 MB, free: 2.887 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.01311, allocations: 4.172 kB / 304.7 MB, free: 2.883 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.01314, allocations: 8.375 kB / 304.7 MB, free: 2.875 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.01316, allocations: 7.938 kB / 304.7 MB, free: 2.867 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.01366, allocations: 152.1 kB / 304.9 MB, free: 2.719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.01478, allocations: 455.9 kB / 305.3 MB, free: 2.242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.01592, allocations: 298.7 kB / 305.6 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.01624, allocations: 120.6 kB / 305.7 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.01628, allocations: 8 kB / 305.7 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/0.01672, allocations: 167.2 kB / 305.9 MB, free: 1.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.01672, allocations: 0 / 305.9 MB, free: 1.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001127/0.01785, allocations: 365.2 kB / 306.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.01791, allocations: 59.47 kB / 306.3 MB, free: 1.203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.01817, allocations: 190.4 kB / 306.5 MB, free: 1.008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.01822, allocations: 37.7 kB / 306.5 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.01837, allocations: 136.6 kB / 306.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.01846, allocations: 67.39 kB / 306.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.0186, allocations: 69.69 kB / 306.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.01883, allocations: 334.8 kB / 307.1 MB, free: 356 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.01922, allocations: 131.9 kB / 307.3 MB, free: 224 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.01968, allocations: 169.4 kB / 307.4 MB, free: 48 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000783/0.02046, allocations: 263.3 kB / 307.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.02047, allocations: 0 / 307.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009181/0.02138, allocations: 379.9 kB / 308.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.02141, allocations: 11.94 kB / 308.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.02142, allocations: 0 / 308.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.02143, allocations: 0 / 308.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.02177, allocations: 75.91 kB / 308.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.02178, allocations: 4 kB / 308.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.02197, allocations: 39.81 kB / 308.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.022, allocations: 11.94 kB / 308.2 MB, free: 15.27 MB / 302.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.0003185/0.02232, allocations: 145.6 kB / 308.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.02236, allocations: 23.8 kB / 308.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.02244, allocations: 29.91 kB / 308.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.02245, allocations: 0 / 308.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.02245, allocations: 0 / 308.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.02246, allocations: 3.984 kB / 308.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.02371, allocations: 0.5408 MB / 308.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.02371, allocations: 0 / 308.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.02398, allocations: 43.95 kB / 309 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.02399, allocations: 4 kB / 309 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.02402, allocations: 3.984 kB / 309 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.02402, allocations: 3.938 kB / 309 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02403, allocations: 4 kB / 309 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.02527, allocations: 487.4 kB / 309.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.02531, allocations: 19.83 kB / 309.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.02536, allocations: 8.062 kB / 309.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.02555, allocations: 27.97 kB / 309.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/0.02564, allocations: 7.984 kB / 309.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.02566, allocations: 7.984 kB / 309.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.02582, allocations: 136.3 kB / 309.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02582, allocations: 0 / 309.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005987/0.02642, allocations: 115.7 kB / 309.8 MB, free: 13.61 MB / 302.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.00103/0.02745, allocations: 312 kB / 310.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.02851, allocations: 267.7 kB / 310.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02851, allocations: 0 / 310.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.02888, allocations: 118.7 kB / 310.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.02926, allocations: 16 kB / 310.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.03071, allocations: 430.4 kB / 310.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.03091, allocations: 129.2 kB / 311 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.03105, allocations: 37.61 kB / 311.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/0.03114, allocations: 24.48 kB / 311.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.03114, allocations: 0 / 311.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of Templates: time 0.01115/0.04229, allocations: 3.801 MB / 314.9 MB, free: 8.461 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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: 5.456209402531385]