Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 176.2 kB / 16.41 MB, free: 5.727 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.416/1.416, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007418/0.0007419, allocations: 94.34 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004398, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3302, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002022/0.3323, allocations: 1.206 MB / 375.8 MB, free: 44.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3338, allocations: 0.5368 MB / 376.3 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.3338, allocations: 9.031 kB / 376.3 MB, free: 44.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.334, allocations: 7.875 kB / 376.3 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.3341, allocations: 18.05 kB / 376.3 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.3347, allocations: 116.8 kB / 376.4 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.3349, allocations: 103.3 kB / 376.5 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.335, allocations: 10.77 kB / 376.6 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.3351, allocations: 40.84 kB / 376.6 MB, free: 43.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.3352, allocations: 59.19 kB / 376.6 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.3352, allocations: 5.469 kB / 376.7 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.3355, allocations: 119.3 kB / 376.8 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.3356, allocations: 23.27 kB / 376.8 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.3357, allocations: 40.95 kB / 376.8 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3359, allocations: 149.1 kB / 377 MB, free: 43.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.336, allocations: 0.9688 kB / 377 MB, free: 43.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.336, allocations: 0 / 377 MB, free: 43.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.336, allocations: 0 / 377 MB, free: 43.61 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007554/0.3368, allocations: 443.6 kB / 377.4 MB, free: 43.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3368, allocations: 13.28 kB / 377.4 MB, free: 43.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004587/0.3373, allocations: 40.28 kB / 377.5 MB, free: 43.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3375, allocations: 190.8 kB / 377.7 MB, free: 42.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.3375, allocations: 7.578 kB / 377.7 MB, free: 42.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.3376, allocations: 8.219 kB / 377.7 MB, free: 42.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.3379, allocations: 128 kB / 377.8 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3379, allocations: 0 / 377.8 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.338, allocations: 5.094 kB / 377.8 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.338, allocations: 0 / 377.8 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.3383, allocations: 64.2 kB / 377.9 MB, free: 42.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008763/0.3392, allocations: 384.2 kB / 378.2 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.3397, allocations: 143.2 kB / 378.4 MB, free: 42.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.3399, allocations: 67.62 kB / 378.4 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.34, allocations: 1.312 kB / 378.4 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.3404, allocations: 147.9 kB / 378.6 MB, free: 42.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.3404, allocations: 1.156 kB / 378.6 MB, free: 42.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008493/0.3413, allocations: 240.7 kB / 378.8 MB, free: 42.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.3413, allocations: 93.91 kB / 378.9 MB, free: 41.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3416, allocations: 178.5 kB / 379.1 MB, free: 41.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.3416, allocations: 48.84 kB / 379.1 MB, free: 41.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.3417, allocations: 105 kB / 379.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.3418, allocations: 39.36 kB / 379.3 MB, free: 41.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/0.3418, allocations: 5.094 kB / 379.3 MB, free: 41.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.3419, allocations: 331.3 kB / 379.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.3422, allocations: 103.3 kB / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.3426, allocations: 134.1 kB / 379.8 MB, free: 41.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.343, allocations: 115 kB / 379.9 MB, free: 41.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.343, allocations: 3.953 kB / 380 MB, free: 41.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008363/0.3438, allocations: 309.7 kB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3439, allocations: 7 kB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3439, allocations: 0 / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3439, allocations: 1.969 kB / 380.3 MB, free: 41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.3442, allocations: 29.67 kB / 380.3 MB, free: 40.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3442, allocations: 2.25 kB / 380.3 MB, free: 40.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.3444, allocations: 31.39 kB / 380.3 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.3444, allocations: 10.78 kB / 380.3 MB, free: 40.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001689/0.3446, allocations: 148.1 kB / 380.5 MB, free: 40.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.3447, allocations: 16.83 kB / 380.5 MB, free: 40.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.277e-05/0.3447, allocations: 12.97 kB / 380.5 MB, free: 40.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3447, allocations: 1.312 kB / 380.5 MB, free: 40.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3448, allocations: 0 / 380.5 MB, free: 40.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3448, allocations: 5.344 kB / 380.5 MB, free: 40.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.345, allocations: 206.7 kB / 380.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.345, allocations: 1.375 kB / 380.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/0.3451, allocations: 15.7 kB / 380.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3451, allocations: 1.188 kB / 380.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3452, allocations: 4.891 kB / 380.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3452, allocations: 4.969 kB / 380.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3452, allocations: 0.9688 kB / 380.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.3457, allocations: 223.5 kB / 381 MB, free: 40.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.3458, allocations: 92.89 kB / 381.1 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.3459, allocations: 14.89 kB / 381.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.346, allocations: 8.703 kB / 381.1 MB, free: 40.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.3461, allocations: 13.83 kB / 381.1 MB, free: 40.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3461, allocations: 3.594 kB / 381.1 MB, free: 40.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.3462, allocations: 127.5 kB / 381.2 MB, free: 40.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3462, allocations: 0 / 381.2 MB, free: 40.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005101/0.3468, allocations: 46.78 kB / 381.3 MB, free: 40.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0006239/0.3474, allocations: 237.5 kB / 381.5 MB, free: 40.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006612/0.3481, allocations: 200 kB / 381.7 MB, free: 39.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3481, allocations: 0 / 381.7 MB, free: 39.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.3484, allocations: 68.19 kB / 381.8 MB, free: 39.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3487, allocations: 6.594 kB / 381.8 MB, free: 39.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.3493, allocations: 294.8 kB / 382.1 MB, free: 39.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3496, allocations: 0.7182 MB / 382.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.3496, allocations: 14.06 kB / 382.8 MB, free: 38.94 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.3497, allocations: 0 / 382.8 MB, free: 38.94 MB / 298.7 MB Notification: Performance of Templates: time 0.00673/0.3564, allocations: 2.432 MB / 385.2 MB, free: 37.69 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches