Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001169/0.001169, allocations: 179.5 kB / 16.41 MB, free: 5.707 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.46/1.46, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0007375/0.0007374, allocations: 95.72 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.000334, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2214, allocations: 47.58 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.00147/0.2229, allocations: 1.248 MB / 375.8 MB, free: 44.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.2248, allocations: 1.361 MB / 377.2 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/0.2249, allocations: 1.031 kB / 377.2 MB, free: 43.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.843e-05/0.225, allocations: 11.86 kB / 377.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.104e-05/0.2251, allocations: 21.83 kB / 377.2 MB, free: 43.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.2259, allocations: 311.3 kB / 377.5 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2261, allocations: 121.4 kB / 377.6 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.2261, allocations: 11.45 kB / 377.6 MB, free: 43.08 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.2262, allocations: 49.77 kB / 377.7 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.2263, allocations: 57 kB / 377.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.2263, allocations: 7.438 kB / 377.7 MB, free: 43.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006338/0.2269, allocations: 454.1 kB / 378.2 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.227, allocations: 35.83 kB / 378.2 MB, free: 42.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.227, allocations: 44.42 kB / 378.3 MB, free: 42.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.2274, allocations: 273.9 kB / 378.5 MB, free: 42.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2274, allocations: 4 kB / 378.5 MB, free: 42.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2274, allocations: 0 / 378.5 MB, free: 42.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2274, allocations: 0 / 378.5 MB, free: 42.56 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.0006557/0.2281, allocations: 0.4937 MB / 379 MB, free: 42.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2281, allocations: 8.719 kB / 379 MB, free: 42.08 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.2284, allocations: 34.55 kB / 379.1 MB, free: 42.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2285, allocations: 202.5 kB / 379.3 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.2286, allocations: 12.27 kB / 379.3 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2286, allocations: 9.438 kB / 379.3 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.2288, allocations: 134.5 kB / 379.4 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2289, allocations: 0 / 379.4 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2289, allocations: 1.062 kB / 379.4 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2289, allocations: 1.156 kB / 379.4 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.2291, allocations: 76.77 kB / 379.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.2297, allocations: 0.5601 MB / 380.1 MB, free: 41.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.2301, allocations: 164.3 kB / 380.2 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.2302, allocations: 68.8 kB / 380.3 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.2302, allocations: 1.688 kB / 380.3 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.2305, allocations: 164.1 kB / 380.4 MB, free: 40.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.2305, allocations: 0 / 380.4 MB, free: 40.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005821/0.2311, allocations: 267.4 kB / 380.7 MB, free: 40.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.2312, allocations: 114.4 kB / 380.8 MB, free: 40.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2314, allocations: 200.7 kB / 381 MB, free: 40.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.2314, allocations: 52.12 kB / 381.1 MB, free: 40.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.2315, allocations: 111.3 kB / 381.2 MB, free: 40.29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.2315, allocations: 46.84 kB / 381.2 MB, free: 40.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.2315, allocations: 1.125 kB / 381.2 MB, free: 40.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.2316, allocations: 335.7 kB / 381.5 MB, free: 39.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.2318, allocations: 108 kB / 381.7 MB, free: 39.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.232, allocations: 150.9 kB / 381.8 MB, free: 39.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.2322, allocations: 116.4 kB / 381.9 MB, free: 39.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2322, allocations: 0 / 381.9 MB, free: 39.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005236/0.2328, allocations: 312.2 kB / 382.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2328, allocations: 5.531 kB / 382.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2328, allocations: 1.594 kB / 382.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2328, allocations: 2.781 kB / 382.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.233, allocations: 35.52 kB / 382.3 MB, free: 39.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.233, allocations: 6.969 kB / 382.3 MB, free: 39.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.2331, allocations: 20.67 kB / 382.3 MB, free: 39.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2332, allocations: 9.75 kB / 382.3 MB, free: 39.56 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,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.2333, allocations: 153.5 kB / 382.5 MB, free: 39.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.2333, allocations: 18.06 kB / 382.5 MB, free: 39.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.2333, allocations: 16.8 kB / 382.5 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2334, allocations: 6.281 kB / 382.5 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2334, allocations: 1.094 kB / 382.5 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2334, allocations: 5.188 kB / 382.5 MB, free: 39.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2335, allocations: 229.2 kB / 382.7 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2335, allocations: 1.312 kB / 382.7 MB, free: 39.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.2336, allocations: 17.42 kB / 382.7 MB, free: 39.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2336, allocations: 1.5 kB / 382.7 MB, free: 39.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.2336, allocations: 2.938 kB / 382.7 MB, free: 39.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2336, allocations: 1.281 kB / 382.7 MB, free: 39.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2337, allocations: 0 / 382.7 MB, free: 39.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.234, allocations: 246.6 kB / 383 MB, free: 38.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.2341, allocations: 98.27 kB / 383.1 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.2341, allocations: 10.69 kB / 383.1 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.2342, allocations: 9.234 kB / 383.1 MB, free: 38.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.2343, allocations: 18.64 kB / 383.1 MB, free: 38.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2343, allocations: 8.016 kB / 383.1 MB, free: 38.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.59e-05/0.2344, allocations: 135.9 kB / 383.3 MB, free: 38.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2344, allocations: 1.344 kB / 383.3 MB, free: 38.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.2349, allocations: 126.5 kB / 383.4 MB, free: 38.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007298/0.2356, allocations: 352.3 kB / 383.7 MB, free: 38.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004509/0.2361, allocations: 205.8 kB / 383.9 MB, free: 38.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2361, allocations: 192 / 383.9 MB, free: 38.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2363, allocations: 70.81 kB / 384 MB, free: 38.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.2365, allocations: 15.53 kB / 384 MB, free: 38.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.2369, allocations: 332.3 kB / 384.3 MB, free: 38.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.2371, allocations: 0.7179 MB / 385.1 MB, free: 37.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.2371, allocations: 20.73 kB / 385.1 MB, free: 37.38 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2371, allocations: 0 / 385.1 MB, free: 37.38 MB / 298.7 MB Notification: Performance of Templates: time 0.006146/0.2433, allocations: 3.972 MB / 389 MB, free: 33.9 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches