Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003773/0.0003773, allocations: 0 / 0, free: 0 / 0 " [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.0002181/0.0002181, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1618/0.1618, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: simulate(Modelica.Blocks.Examples.Noise.Distributions,startTime=0,stopTime=2,tolerance=1e-06,numberOfIntervals=5101,outputFormat="mat",variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Blocks.Examples.Noise.Distributions,startTime=0,stopTime=2,tolerance=1e-06,numberOfIntervals=5101,outputFormat="mat",variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.11e-07/7.11e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.09e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.0012/0.001221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001833/0.003053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.003089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 5.739e-05/0.003146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.0032, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.0005773/0.003777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 7.542e-05/0.003853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.495e-05/0.003878, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.003936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0008941/0.00483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.004852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.005248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.00528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.005311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.005693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.005706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.273e-06/0.005708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.943e-06/0.005715, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005398/0.006254, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.006297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.006417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.006519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.006548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.00657, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.006698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.006706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.00672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-06/0.006722, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 3.619e-05/0.006758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.007045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 8.429e-05/0.007129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.007151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.326e-06/0.007154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.084e-05/0.007245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.007247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=17): time 0.0001166/0.007363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.007395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.007464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.007523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.007562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.007595, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.007655, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.334e-05/0.007668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 3.584e-05/0.007704, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.007742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 8.367e-05/0.007826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001203/0.007948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.007956, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.007959, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.00797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.008051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.008058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.008092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.008104, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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 6.448e-05/0.008168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.008181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.008208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.00821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.008214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.008216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.021e-05/0.008296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.008298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.008316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.008331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.008333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.008334, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 7.934e-05/0.008414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.008434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.008478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.668e-05/0.008505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.008542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.008549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 3.131e-05/0.00858, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.555e-06/0.008582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002543/0.008837, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.0005583/0.009395, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001304/0.009525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.009528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.009554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.009684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.009953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.304e-05/0.009976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 4.218e-05/0.01002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.01007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.113e-05/0.01008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001344/0.01143, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.7856756448745728]