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.0009154/0.0009154, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009931/0.0009931, allocations: 159.4 kB / 25.45 MB, free: 9.352 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.9667/0.9667, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.614e-06/1.614e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.037e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002194/0.002225, allocations: 1.502 MB / 301.2 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.004187, allocations: 1.365 MB / 302.6 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.00427, allocations: 0 / 302.6 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.004379, allocations: 19.86 kB / 302.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.78e-05/0.004477, allocations: 23.73 kB / 302.6 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.005565, allocations: 402.5 kB / 303 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.005733, allocations: 139.5 kB / 303.1 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.005782, allocations: 9.625 kB / 303.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.633e-05/0.005858, allocations: 79.8 kB / 303.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.877e-05/0.005917, allocations: 47.81 kB / 303.3 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.005937, allocations: 12 kB / 303.3 MB, free: 3.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005966/0.006534, allocations: 450.9 kB / 303.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.515e-05/0.006609, allocations: 39.83 kB / 303.8 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.006672, allocations: 39.86 kB / 303.8 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006143/0.007286, allocations: 474.7 kB / 304.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.00729, allocations: 0 / 304.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007291, allocations: 0 / 304.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.007297, allocations: 0 / 304.3 MB, free: 2.316 MB / 282.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.0007104/0.008007, allocations: 456.7 kB / 304.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.00805, allocations: 15.98 kB / 304.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.008206, allocations: 36.75 kB / 304.8 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.008345, allocations: 154.2 kB / 304.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.008367, allocations: 8.375 kB / 304.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.008385, allocations: 12.36 kB / 304.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.008588, allocations: 120.8 kB / 305.1 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.008597, allocations: 192 / 305.1 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.008613, allocations: 8.359 kB / 305.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.008621, allocations: 3.938 kB / 305.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.008746, allocations: 63.89 kB / 305.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.009302, allocations: 488.6 kB / 305.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.009512, allocations: 151.6 kB / 305.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.00987, allocations: 54.61 kB / 305.8 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.009882, allocations: 4 kB / 305.8 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.01013, allocations: 157.8 kB / 306 MB, free: 464 kB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.01013, allocations: 4 kB / 306 MB, free: 460 kB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003633/0.0105, allocations: 254 kB / 306.2 MB, free: 200 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.01057, allocations: 114.8 kB / 306.3 MB, free: 60 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.01073, allocations: 195.2 kB / 306.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.01077, allocations: 41.7 kB / 306.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.01083, allocations: 108.6 kB / 306.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.01086, allocations: 47.67 kB / 306.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.01093, allocations: 61.81 kB / 306.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.01102, allocations: 338.8 kB / 307.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.01114, allocations: 91.95 kB / 307.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.01128, allocations: 147.2 kB / 307.3 MB, free: 15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.01153, allocations: 223.8 kB / 307.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01154, allocations: 3.938 kB / 307.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003431/0.01188, allocations: 317.3 kB / 307.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.01189, allocations: 4 kB / 307.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.0119, allocations: 4 kB / 307.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.01192, allocations: 0 / 307.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.514e-05/0.01201, allocations: 31.92 kB / 307.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01202, allocations: 3.984 kB / 307.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.01208, allocations: 31.88 kB / 307.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.01209, allocations: 11.98 kB / 308 MB, free: 14.37 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.0001233/0.01221, allocations: 145.8 kB / 308.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.01223, allocations: 19.84 kB / 308.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.01226, allocations: 17.45 kB / 308.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01227, allocations: 3.938 kB / 308.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.01227, allocations: 4 kB / 308.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01228, allocations: 0 / 308.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.01242, allocations: 153.2 kB / 308.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01242, allocations: 8 kB / 308.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.01245, allocations: 15.92 kB / 308.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01246, allocations: 0 / 308.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01247, allocations: 0 / 308.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01247, allocations: 4 kB / 308.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01247, allocations: 0 / 308.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.01274, allocations: 245.3 kB / 308.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.01276, allocations: 19.83 kB / 308.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.01279, allocations: 16 kB / 308.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.01282, allocations: 7.984 kB / 308.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.0129, allocations: 11.98 kB / 308.6 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01291, allocations: 7.984 kB / 308.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.01301, allocations: 137.2 kB / 308.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01301, allocations: 0 / 308.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.01349, allocations: 131.6 kB / 308.9 MB, free: 13.38 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.0007634/0.01425, allocations: 380.1 kB / 309.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.01458, allocations: 183.8 kB / 309.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01458, allocations: 0 / 309.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.536e-05/0.01467, allocations: 63.89 kB / 309.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.01482, allocations: 11.94 kB / 309.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.0153, allocations: 313.8 kB / 309.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.996e-05/0.01538, allocations: 107 kB / 309.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.01542, allocations: 20.44 kB / 309.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01542, allocations: 4 kB / 309.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of Templates: time 0.005511/0.02093, allocations: 4.073 MB / 314 MB, free: 8.18 MB / 298.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: 5.28853496722877]