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.00102/0.00102, allocations: 83.67 kB / 21.97 MB, free: 2.609 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.00116/0.00116, allocations: 171.4 kB / 25.33 MB, free: 8.051 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.003/1.003, allocations: 158.6 MB / 187.2 MB, free: 2.953 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 1.893e-06/1.893e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.887e-05/4.077e-05, allocations: 6.25 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002304/0.002345, allocations: 1.555 MB / 252.6 MB, free: 5.953 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.004513, allocations: 1.415 MB / 254 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-05/0.004598, allocations: 0 / 254 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.004714, allocations: 7.875 kB / 254 MB, free: 4.516 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.888e-05/0.004813, allocations: 31.73 kB / 254.1 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.005975, allocations: 410.4 kB / 254.5 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.006144, allocations: 139.5 kB / 254.6 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.00619, allocations: 5.688 kB / 254.6 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.006272, allocations: 79.8 kB / 254.7 MB, free: 3.859 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.006334, allocations: 47.81 kB / 254.7 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.006355, allocations: 12 kB / 254.7 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006608/0.007016, allocations: 447 kB / 255.2 MB, free: 3.363 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.007079, allocations: 39.83 kB / 255.2 MB, free: 3.324 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.007137, allocations: 43.84 kB / 255.3 MB, free: 3.281 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.007783, allocations: 438.7 kB / 255.7 MB, free: 2.852 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.00779, allocations: 3.938 kB / 255.7 MB, free: 2.848 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007791, allocations: 0 / 255.7 MB, free: 2.848 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.007802, allocations: 4 kB / 255.7 MB, free: 2.844 MB / 234.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.0009065/0.008708, allocations: 0.5381 MB / 256.2 MB, free: 2.27 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.008762, allocations: 11.98 kB / 256.2 MB, free: 2.258 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.009016, allocations: 36.81 kB / 256.3 MB, free: 2.223 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.009198, allocations: 169.8 kB / 256.4 MB, free: 2.027 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.009222, allocations: 12.38 kB / 256.5 MB, free: 2.016 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.00924, allocations: 4.375 kB / 256.5 MB, free: 2.012 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.009437, allocations: 105.2 kB / 256.6 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.009445, allocations: 192 / 256.6 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.009457, allocations: 384 / 256.6 MB, free: 1.891 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.009465, allocations: 11.88 kB / 256.6 MB, free: 1.879 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.401e-05/0.009519, allocations: 23.92 kB / 256.6 MB, free: 1.855 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.01009, allocations: 0.6029 MB / 257.2 MB, free: 1.203 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.01023, allocations: 117.2 kB / 257.3 MB, free: 1.051 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.01028, allocations: 39.12 kB / 257.4 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.01029, allocations: 3.938 kB / 257.4 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.01045, allocations: 132 kB / 257.5 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 2.314e-06/0.01045, allocations: 4 kB / 257.5 MB, free: 0.8359 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.000264/0.01071, allocations: 161.6 kB / 257.6 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.01077, allocations: 114.8 kB / 257.8 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.01093, allocations: 246.7 kB / 258 MB, free: 284 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.01096, allocations: 45.81 kB / 258 MB, free: 232 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.01102, allocations: 159.3 kB / 258.2 MB, free: 68 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.01106, allocations: 51.66 kB / 258.3 MB, free: 16 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.01114, allocations: 67.3 kB / 258.3 MB, free: 15.94 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.01125, allocations: 0.5001 MB / 258.8 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.01133, allocations: 43.91 kB / 258.9 MB, free: 15.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.097e-05/0.01141, allocations: 86.58 kB / 258.9 MB, free: 15.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.01155, allocations: 127.2 kB / 259.1 MB, free: 15.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01155, allocations: 4 kB / 259.1 MB, free: 15.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002458/0.0118, allocations: 205.3 kB / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.01182, allocations: 7.438 kB / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.01183, allocations: 0 / 259.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.01185, allocations: 8 kB / 259.3 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.012, allocations: 47.91 kB / 259.3 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.01201, allocations: 0 / 259.3 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.092e-05/0.01206, allocations: 23.84 kB / 259.4 MB, free: 14.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.01207, allocations: 4 kB / 259.4 MB, free: 14.85 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.0001291/0.0122, allocations: 196.7 kB / 259.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.01223, allocations: 19.84 kB / 259.6 MB, free: 14.62 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.01226, allocations: 21.45 kB / 259.6 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01227, allocations: 0 / 259.6 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.01227, allocations: 4 kB / 259.6 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01228, allocations: 0 / 259.6 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.01242, allocations: 156.5 kB / 259.8 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01242, allocations: 0 / 259.8 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.01245, allocations: 15.94 kB / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01245, allocations: 3.984 kB / 259.8 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.01246, allocations: 4 kB / 259.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01246, allocations: 0 / 259.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01247, allocations: 3.938 kB / 259.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.01267, allocations: 191.7 kB / 260 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.01269, allocations: 23.78 kB / 260 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.01272, allocations: 8 kB / 260 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.01275, allocations: 3.984 kB / 260 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.0128, allocations: 15.98 kB / 260 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.01281, allocations: 11.92 kB / 260 MB, free: 14.1 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.604e-05/0.0129, allocations: 177.1 kB / 260.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0129, allocations: 3.938 kB / 260.2 MB, free: 13.92 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.01323, allocations: 127.6 kB / 260.3 MB, free: 13.8 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.000687/0.01392, allocations: 389.6 kB / 260.7 MB, free: 13.44 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.01416, allocations: 111.5 kB / 260.8 MB, free: 13.33 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01416, allocations: 0 / 260.8 MB, free: 13.33 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.01422, allocations: 39.86 kB / 260.9 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.01439, allocations: 19.92 kB / 260.9 MB, free: 13.27 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.01479, allocations: 283 kB / 261.2 MB, free: 12.95 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.01483, allocations: 79.69 kB / 261.2 MB, free: 12.86 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.615e-05/0.01487, allocations: 17.48 kB / 261.2 MB, free: 12.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.01491, allocations: 20.5 kB / 261.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01491, allocations: 64 / 261.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of Templates: time 0.006368/0.02128, allocations: 4.309 MB / 265.6 MB, free: 8.52 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: 2.849075407255441]