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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 183 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.1 MB / 223.7 MB, free: 8.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009965/0.0009965, allocations: 105.3 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000807/0.000807, allocations: 43.94 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2172, allocations: 46.62 MB / 373.8 MB, free: 45.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002733/0.2199, allocations: 1.605 MB / 375.4 MB, free: 44.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.222, allocations: 1.518 MB / 376.9 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.222, allocations: 1.156 kB / 376.9 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.555e-05/0.2221, allocations: 7.938 kB / 377 MB, free: 43.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.2222, allocations: 14.02 kB / 377 MB, free: 43.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007577/0.223, allocations: 325.5 kB / 377.3 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.2231, allocations: 122.3 kB / 377.4 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.2232, allocations: 11.62 kB / 377.4 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.2232, allocations: 54.38 kB / 377.5 MB, free: 43.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.2233, allocations: 73.12 kB / 377.5 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.2233, allocations: 6.75 kB / 377.5 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006365/0.224, allocations: 460.1 kB / 378 MB, free: 42.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.224, allocations: 31.81 kB / 378 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.953e-05/0.2241, allocations: 57.75 kB / 378.1 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.2246, allocations: 414.4 kB / 378.5 MB, free: 42.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2246, allocations: 0 / 378.5 MB, free: 42.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2246, allocations: 1.156 kB / 378.5 MB, free: 42.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.2247, allocations: 3.938 kB / 378.5 MB, free: 42.48 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.0006333/0.2253, allocations: 0.5222 MB / 379 MB, free: 41.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2253, allocations: 9.531 kB / 379 MB, free: 41.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.2256, allocations: 29.89 kB / 379.1 MB, free: 41.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.2257, allocations: 199.9 kB / 379.2 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2257, allocations: 3.656 kB / 379.3 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.2257, allocations: 14.3 kB / 379.3 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.226, allocations: 132.9 kB / 379.4 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.226, allocations: 4 kB / 379.4 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.226, allocations: 5.25 kB / 379.4 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.226, allocations: 1.25 kB / 379.4 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.2262, allocations: 60.52 kB / 379.5 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006015/0.2268, allocations: 0.5506 MB / 380 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.2271, allocations: 155.3 kB / 380.2 MB, free: 40.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.2273, allocations: 65.61 kB / 380.2 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.2273, allocations: 1.562 kB / 380.2 MB, free: 40.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.2275, allocations: 152.2 kB / 380.4 MB, free: 40.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.183e-06/0.2276, allocations: 1.312 kB / 380.4 MB, free: 40.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005448/0.2281, allocations: 255.8 kB / 380.6 MB, free: 40.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.2282, allocations: 120 kB / 380.8 MB, free: 40.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2283, allocations: 202 kB / 380.9 MB, free: 40.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2284, allocations: 48.38 kB / 381 MB, free: 40.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.2284, allocations: 110.2 kB / 381.1 MB, free: 40.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.2284, allocations: 43.3 kB / 381.1 MB, free: 40.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.2285, allocations: 60.66 kB / 381.2 MB, free: 40.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.2286, allocations: 336.2 kB / 381.5 MB, free: 39.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.2288, allocations: 96.73 kB / 381.6 MB, free: 39.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.229, allocations: 148.2 kB / 381.8 MB, free: 39.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.2293, allocations: 221.2 kB / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2293, allocations: 1.031 kB / 382 MB, free: 39.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004673/0.2298, allocations: 318.3 kB / 382.3 MB, free: 39.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2298, allocations: 9.188 kB / 382.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2298, allocations: 0.9375 kB / 382.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2299, allocations: 2.406 kB / 382.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.23, allocations: 26.61 kB / 382.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.23, allocations: 2.219 kB / 382.3 MB, free: 39.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.2301, allocations: 31.16 kB / 382.4 MB, free: 39.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.2301, allocations: 14.31 kB / 382.4 MB, free: 39.35 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.0001042/0.2303, allocations: 144.5 kB / 382.5 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.2303, allocations: 15.28 kB / 382.5 MB, free: 39.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.2303, allocations: 21.45 kB / 382.6 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2303, allocations: 1.469 kB / 382.6 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2303, allocations: 1.281 kB / 382.6 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2303, allocations: 0 / 382.6 MB, free: 39.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.2305, allocations: 222.4 kB / 382.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2305, allocations: 5.094 kB / 382.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.2306, allocations: 11.8 kB / 382.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2306, allocations: 5.406 kB / 382.8 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2306, allocations: 6.594 kB / 382.8 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2306, allocations: 1.156 kB / 382.8 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2306, allocations: 0 / 382.8 MB, free: 38.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.2312, allocations: 0.8622 MB / 383.7 MB, free: 38.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.2312, allocations: 94.31 kB / 383.8 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.2313, allocations: 18.98 kB / 383.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.2313, allocations: 4.906 kB / 383.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.2314, allocations: 21.11 kB / 383.8 MB, free: 38.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2314, allocations: 7.609 kB / 383.8 MB, free: 38.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.634e-05/0.2315, allocations: 138.2 kB / 384 MB, free: 37.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2315, allocations: 0 / 384 MB, free: 37.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005441/0.2321, allocations: 135.3 kB / 384.1 MB, free: 37.87 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.0007185/0.2328, allocations: 336 kB / 384.4 MB, free: 37.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.2332, allocations: 210.7 kB / 384.6 MB, free: 37.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2332, allocations: 1.031 kB / 384.6 MB, free: 37.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.2334, allocations: 66.16 kB / 384.7 MB, free: 37.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.2336, allocations: 15.73 kB / 384.7 MB, free: 37.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.2341, allocations: 481 kB / 385.2 MB, free: 37.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2342, allocations: 0.7201 MB / 385.9 MB, free: 36.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.482e-05/0.2343, allocations: 22.03 kB / 385.9 MB, free: 36.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.2343, allocations: 16.5 kB / 385.9 MB, free: 36.41 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2343, allocations: 0 / 385.9 MB, free: 36.41 MB / 298.7 MB Notification: Performance of Templates: time 0.005903/0.2403, allocations: 3.559 MB / 389.5 MB, free: 33.36 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches