Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.001234/0.001234, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.00569/0.00569, allocations: 158.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.9319/0.9319, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.28e-05, allocations: 10.22 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.002147/0.00218, allocations: 1.533 MB / 327.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.004053, allocations: 1.402 MB / 328.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.004125, allocations: 0 / 328.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.004232, allocations: 11.86 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.004323, allocations: 27.73 kB / 328.8 MB, free: 12.4 MB / 298.7 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.0009859/0.005309, allocations: 406.5 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.005484, allocations: 135.6 kB / 329.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.005547, allocations: 5.688 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.005643, allocations: 79.73 kB / 329.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.006197, allocations: 73.06 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.006235, allocations: 12 kB / 329.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006498/0.006884, allocations: 446.8 kB / 329.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.006952, allocations: 39.83 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.007005, allocations: 43.83 kB / 330 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.007657, allocations: 458.7 kB / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.007661, allocations: 0 / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.007663, allocations: 0 / 330.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.007668, allocations: 4 kB / 330.4 MB, free: 10.73 MB / 298.7 MB 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.0007383/0.008407, allocations: 452.7 kB / 330.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.008458, allocations: 11.98 kB / 330.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.008652, allocations: 32.83 kB / 330.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.008797, allocations: 151 kB / 331.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.008819, allocations: 8.312 kB / 331.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.008835, allocations: 4.375 kB / 331.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.009035, allocations: 128.7 kB / 331.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.009044, allocations: 8.188 kB / 331.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.009057, allocations: 384 / 331.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.009064, allocations: 3.938 kB / 331.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.009185, allocations: 63.89 kB / 331.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.009777, allocations: 480.6 kB / 331.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.009999, allocations: 147.8 kB / 331.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.01007, allocations: 62.48 kB / 331.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.01009, allocations: 0 / 331.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.0103, allocations: 157.8 kB / 332.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 7.91e-07/0.0103, allocations: 0 / 332.1 MB, free: 8.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005338/0.01084, allocations: 266 kB / 332.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.01089, allocations: 114.8 kB / 332.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.01106, allocations: 195 kB / 332.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.01109, allocations: 45.69 kB / 332.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.01117, allocations: 108.6 kB / 332.8 MB, free: 8.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.01121, allocations: 47.67 kB / 332.9 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/0.01129, allocations: 53.7 kB / 332.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.01141, allocations: 334.8 kB / 333.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.01155, allocations: 104.1 kB / 333.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.01169, allocations: 135.8 kB / 333.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.01195, allocations: 227.7 kB / 333.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.01195, allocations: 0 / 333.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004892/0.01244, allocations: 313.2 kB / 334 MB, free: 6.891 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.01246, allocations: 8 kB / 334 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.01247, allocations: 0 / 334 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.01249, allocations: 4 kB / 334 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.0126, allocations: 31.92 kB / 334 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.01261, allocations: 4 kB / 334 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.01266, allocations: 19.89 kB / 334.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.01268, allocations: 8 kB / 334.1 MB, free: 6.816 MB / 298.7 MB 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,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,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 0.0001485/0.01283, allocations: 161.9 kB / 334.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.01285, allocations: 15.84 kB / 334.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.01288, allocations: 17.45 kB / 334.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.01289, allocations: 4 kB / 334.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.0129, allocations: 4 kB / 334.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.0129, allocations: 0 / 334.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.01307, allocations: 145.3 kB / 334.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01307, allocations: 0 / 334.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.01311, allocations: 19.92 kB / 334.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01311, allocations: 4 kB / 334.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01313, allocations: 4 kB / 334.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01313, allocations: 0 / 334.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01313, allocations: 0 / 334.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.01343, allocations: 241.6 kB / 334.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.01346, allocations: 27.77 kB / 334.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.01349, allocations: 8 kB / 334.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.01353, allocations: 7.984 kB / 334.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.0136, allocations: 19.98 kB / 334.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.01361, allocations: 4 kB / 334.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.01372, allocations: 149.2 kB / 334.9 MB, free: 5.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01372, allocations: 3.938 kB / 334.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004005/0.01412, allocations: 119.7 kB / 335 MB, free: 5.824 MB / 298.7 MB 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.0007779/0.0149, allocations: 341.5 kB / 335.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.01527, allocations: 183.8 kB / 335.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01527, allocations: 192 / 335.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.455e-05/0.01537, allocations: 63.91 kB / 335.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.01554, allocations: 19.05 kB / 335.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.01613, allocations: 302 kB / 335.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.704e-05/0.01623, allocations: 102.8 kB / 336 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.01627, allocations: 24.48 kB / 336 MB, free: 4.766 MB / 298.7 MB Notification: Performance of SimCode: time 1.603e-06/0.01627, allocations: 4.062 kB / 336 MB, free: 4.762 MB / 298.7 MB Notification: Performance of Templates: time 0.006683/0.02296, allocations: 4.006 MB / 340 MB, free: 0.7539 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.004467300139368]