Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.001572/0.001572, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.0017/0.0017, allocations: 168.4 kB / 25.03 MB, free: 8.43 MB / 18.57 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.455/1.455, allocations: 158.6 MB / 186.8 MB, free: 2.863 MB / 170.7 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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.537e-05, allocations: 2.312 kB / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003387/0.003422, allocations: 1.51 MB / 251.9 MB, free: 2.414 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.006446, allocations: 1.369 MB / 253.2 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.006511, allocations: 4 kB / 253.2 MB, free: 1.027 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.006638, allocations: 7.875 kB / 253.2 MB, free: 1.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.006745, allocations: 27.73 kB / 253.3 MB, free: 0.9922 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.007962, allocations: 406.5 kB / 253.7 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.008171, allocations: 135.5 kB / 253.8 MB, free: 472 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.008233, allocations: 17.61 kB / 253.8 MB, free: 452 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.00836, allocations: 75.81 kB / 253.9 MB, free: 376 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.008452, allocations: 55.78 kB / 254 MB, free: 320 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.008483, allocations: 12 kB / 254 MB, free: 308 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008508/0.009334, allocations: 447 kB / 254.4 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.009402, allocations: 31.86 kB / 254.4 MB, free: 15.83 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.00949, allocations: 51.77 kB / 254.5 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007545/0.01024, allocations: 470.6 kB / 254.9 MB, free: 15.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.01025, allocations: 0 / 254.9 MB, free: 15.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01025, allocations: 0 / 254.9 MB, free: 15.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.01026, allocations: 0 / 254.9 MB, free: 15.32 MB / 250.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.0009512/0.01121, allocations: 456.7 kB / 255.4 MB, free: 14.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.01125, allocations: 15.98 kB / 255.4 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.01153, allocations: 40.77 kB / 255.4 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.01173, allocations: 146.4 kB / 255.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.01176, allocations: 8.359 kB / 255.6 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.01178, allocations: 8.375 kB / 255.6 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.01208, allocations: 131.3 kB / 255.7 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.01209, allocations: 192 / 255.7 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.01211, allocations: 16.36 kB / 255.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.01211, allocations: 3.938 kB / 255.8 MB, free: 14.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.01234, allocations: 63.88 kB / 255.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.01344, allocations: 480.6 kB / 256.3 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.01384, allocations: 151.7 kB / 256.4 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.01398, allocations: 54.61 kB / 256.5 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.014, allocations: 7.938 kB / 256.5 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.01439, allocations: 153.8 kB / 256.6 MB, free: 13.46 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.01439, allocations: 0 / 256.6 MB, free: 13.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007544/0.01515, allocations: 257.5 kB / 256.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.01526, allocations: 114.8 kB / 257 MB, free: 13.06 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.01552, allocations: 195.2 kB / 257.2 MB, free: 12.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.01558, allocations: 45.7 kB / 257.2 MB, free: 12.81 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.01568, allocations: 104.6 kB / 257.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.01574, allocations: 47.67 kB / 257.4 MB, free: 12.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.01585, allocations: 61.69 kB / 257.4 MB, free: 12.59 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.01605, allocations: 330.8 kB / 257.8 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.01632, allocations: 103.9 kB / 257.9 MB, free: 12.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/0.01674, allocations: 147.3 kB / 258 MB, free: 12 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.01722, allocations: 215.8 kB / 258.2 MB, free: 11.78 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01722, allocations: 0 / 258.2 MB, free: 11.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006601/0.01788, allocations: 329.4 kB / 258.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.0179, allocations: 4 kB / 258.6 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01791, allocations: 0 / 258.6 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.01793, allocations: 4 kB / 258.6 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.0181, allocations: 31.92 kB / 258.6 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.01811, allocations: 3.984 kB / 258.6 MB, free: 11.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.0182, allocations: 27.78 kB / 258.6 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.01823, allocations: 8 kB / 258.6 MB, free: 11.38 MB / 250.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.0001854/0.01842, allocations: 161.7 kB / 258.8 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.01846, allocations: 19.84 kB / 258.8 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.01851, allocations: 21.45 kB / 258.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.01852, allocations: 4 kB / 258.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.01852, allocations: 0 / 258.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01852, allocations: 0 / 258.8 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.01872, allocations: 145.2 kB / 259 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01873, allocations: 96 / 259 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.01879, allocations: 15.92 kB / 259 MB, free: 10.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.0188, allocations: 3.984 kB / 259 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.01881, allocations: 8 kB / 259 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.01882, allocations: 3.938 kB / 259 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01882, allocations: 0 / 259 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004922/0.01931, allocations: 238.7 kB / 259.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.01935, allocations: 19.78 kB / 259.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.01939, allocations: 15.98 kB / 259.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.01946, allocations: 4 kB / 259.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.01953, allocations: 19.91 kB / 259.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.01954, allocations: 8 kB / 259.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.01969, allocations: 141.2 kB / 259.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01969, allocations: 0 / 259.4 MB, free: 10.49 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004914/0.02018, allocations: 123.7 kB / 259.6 MB, free: 10.37 MB / 250.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.001022/0.02121, allocations: 387.4 kB / 259.9 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.0217, allocations: 191.9 kB / 260.1 MB, free: 9.828 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0217, allocations: 4.188 kB / 260.1 MB, free: 9.824 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.02188, allocations: 55.97 kB / 260.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.02214, allocations: 31.75 kB / 260.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.02277, allocations: 295.7 kB / 260.5 MB, free: 9.418 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.02291, allocations: 102.8 kB / 260.6 MB, free: 9.297 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.656e-05/0.02298, allocations: 25.53 kB / 260.6 MB, free: 9.273 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.868e-05/0.02305, allocations: 20.5 kB / 260.7 MB, free: 9.254 MB / 250.7 MB Notification: Performance of SimCode: time 5.62e-07/0.02305, allocations: 0 / 260.7 MB, free: 9.254 MB / 250.7 MB Notification: Performance of Templates: time 0.009353/0.03241, allocations: 3.787 MB / 264.4 MB, free: 5.469 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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: 4.710632284055464]