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.00159/0.00159, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001674/0.001674, allocations: 165.9 kB / 25.32 MB, free: 9.473 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 0.9828/0.9828, allocations: 158.6 MB / 187.2 MB, free: 2.512 MB / 170.7 MB " [Timeout remaining time 179] 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 2.074e-06/2.074e-06, allocations: 0 / 251 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.247e-05, allocations: 6.312 kB / 251 MB, free: 3.59 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003144/0.003176, allocations: 1.557 MB / 252.6 MB, free: 2.023 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.006055, allocations: 1.407 MB / 254 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.006142, allocations: 4 kB / 254 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.00627, allocations: 7.875 kB / 254 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.006398, allocations: 35.7 kB / 254.1 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.007916, allocations: 402.5 kB / 254.4 MB, free: 164 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.008209, allocations: 143.5 kB / 254.6 MB, free: 20 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.981e-05/0.008269, allocations: 9.688 kB / 254.6 MB, free: 8 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.0084, allocations: 75.8 kB / 254.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.118e-05/0.008492, allocations: 55.8 kB / 254.7 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.008522, allocations: 12 kB / 254.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008508/0.009373, allocations: 446.9 kB / 255.2 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.009452, allocations: 39.83 kB / 255.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.009525, allocations: 39.84 kB / 255.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007774/0.0103, allocations: 438.7 kB / 255.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.465e-06/0.01031, allocations: 0 / 255.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01031, allocations: 0 / 255.7 MB, free: 14.92 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.01032, allocations: 4 kB / 255.7 MB, free: 14.92 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.0008664/0.01118, allocations: 0.542 MB / 256.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.01123, allocations: 11.98 kB / 256.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.01151, allocations: 36.81 kB / 256.3 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.0117, allocations: 169.8 kB / 256.4 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.01173, allocations: 12.31 kB / 256.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.01176, allocations: 4.375 kB / 256.5 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.01203, allocations: 109.1 kB / 256.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.01204, allocations: 192 / 256.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.01206, allocations: 4.375 kB / 256.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.01207, allocations: 3.938 kB / 256.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.01215, allocations: 27.92 kB / 256.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.01295, allocations: 0.603 MB / 257.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.01318, allocations: 117.2 kB / 257.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.01324, allocations: 39.12 kB / 257.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.01325, allocations: 0 / 257.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.01349, allocations: 139.9 kB / 257.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.01349, allocations: 0 / 257.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004353/0.01392, allocations: 157.5 kB / 257.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.01401, allocations: 118.8 kB / 257.8 MB, free: 12.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.01423, allocations: 246.7 kB / 258 MB, free: 12.35 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.01428, allocations: 41.77 kB / 258 MB, free: 12.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.01437, allocations: 159.3 kB / 258.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.01443, allocations: 51.62 kB / 258.2 MB, free: 12.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-05/0.01453, allocations: 59.34 kB / 258.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.01474, allocations: 0.5119 MB / 258.8 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.01485, allocations: 35.98 kB / 258.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.01499, allocations: 86.58 kB / 258.9 MB, free: 11.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.0152, allocations: 131.1 kB / 259.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01521, allocations: 0 / 259.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003737/0.01558, allocations: 201.3 kB / 259.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.0156, allocations: 8.094 kB / 259.3 MB, free: 11.01 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01561, allocations: 4 kB / 259.3 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.01564, allocations: 4 kB / 259.3 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.01585, allocations: 51.91 kB / 259.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.01586, allocations: 4 kB / 259.3 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.01593, allocations: 19.84 kB / 259.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.01596, allocations: 8 kB / 259.4 MB, free: 10.92 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.0001689/0.01612, allocations: 188.6 kB / 259.5 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.01616, allocations: 23.84 kB / 259.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.01621, allocations: 25.45 kB / 259.6 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01622, allocations: 0 / 259.6 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.01622, allocations: 0 / 259.6 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.01623, allocations: 4 kB / 259.6 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.01643, allocations: 152.5 kB / 259.7 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.01643, allocations: 0 / 259.7 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/0.01648, allocations: 19.86 kB / 259.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01649, allocations: 0 / 259.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.0165, allocations: 4 kB / 259.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.0165, allocations: 0 / 259.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01651, allocations: 4 kB / 259.8 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.0168, allocations: 191.7 kB / 260 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.01684, allocations: 35.66 kB / 260 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.01687, allocations: 7.984 kB / 260 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.01692, allocations: 4 kB / 260 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.017, allocations: 11.98 kB / 260 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.01701, allocations: 7.984 kB / 260 MB, free: 10.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.01715, allocations: 177.1 kB / 260.2 MB, free: 9.996 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01715, allocations: 0 / 260.2 MB, free: 9.996 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005851/0.01773, allocations: 127.6 kB / 260.3 MB, free: 9.871 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.00105/0.01878, allocations: 394.1 kB / 260.7 MB, free: 9.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.01908, allocations: 107.5 kB / 260.8 MB, free: 9.398 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01909, allocations: 0 / 260.8 MB, free: 9.398 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/0.01917, allocations: 43.61 kB / 260.9 MB, free: 9.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.01941, allocations: 23.88 kB / 260.9 MB, free: 9.328 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.01999, allocations: 279.4 kB / 261.1 MB, free: 9.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.926e-05/0.02004, allocations: 71.83 kB / 261.2 MB, free: 8.93 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.636e-05/0.02012, allocations: 17.48 kB / 261.2 MB, free: 8.914 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.02017, allocations: 16.5 kB / 261.3 MB, free: 8.898 MB / 250.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02017, allocations: 3.938 kB / 261.3 MB, free: 8.895 MB / 250.7 MB Notification: Performance of Templates: time 0.009737/0.02991, allocations: 3.817 MB / 265.1 MB, free: 5.078 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0118196601979434]