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.0009647/0.0009647, allocations: 179.1 kB / 16.72 MB, free: 4.953 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.509/1.509, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007988/0.0007988, allocations: 94.33 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005513, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3446, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00172/0.3464, allocations: 1.214 MB / 376.3 MB, free: 44.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3475, allocations: 0.5322 MB / 376.8 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.3475, allocations: 1 kB / 376.8 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3476, allocations: 11.86 kB / 376.8 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.34e-05/0.3477, allocations: 14.91 kB / 376.9 MB, free: 44.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.3482, allocations: 124.1 kB / 377 MB, free: 43.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3484, allocations: 104.1 kB / 377.1 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.988e-05/0.3485, allocations: 10.61 kB / 377.1 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.3485, allocations: 45.05 kB / 377.1 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.3486, allocations: 49.83 kB / 377.2 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3487, allocations: 7.062 kB / 377.2 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.3489, allocations: 111.4 kB / 377.3 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.349, allocations: 30.8 kB / 377.3 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.3491, allocations: 81.88 kB / 377.4 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3493, allocations: 142 kB / 377.5 MB, free: 43.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3493, allocations: 1.094 kB / 377.5 MB, free: 43.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3493, allocations: 0 / 377.5 MB, free: 43.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3493, allocations: 0 / 377.5 MB, free: 43.57 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.000631/0.35, allocations: 449.9 kB / 378 MB, free: 43.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.35, allocations: 9.969 kB / 378 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.3503, allocations: 36.89 kB / 378 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.3505, allocations: 200.7 kB / 378.2 MB, free: 42.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.3505, allocations: 2.688 kB / 378.2 MB, free: 42.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.3505, allocations: 13.86 kB / 378.2 MB, free: 42.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.3508, allocations: 116.2 kB / 378.4 MB, free: 42.8 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3508, allocations: 8.125 kB / 378.4 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.3508, allocations: 5 kB / 378.4 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3508, allocations: 1.125 kB / 378.4 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.351, allocations: 64.08 kB / 378.4 MB, free: 42.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.3517, allocations: 375.1 kB / 378.8 MB, free: 42.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.352, allocations: 148.3 kB / 378.9 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3521, allocations: 66.08 kB / 379 MB, free: 42.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.3521, allocations: 5.062 kB / 379 MB, free: 42.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.3525, allocations: 148.8 kB / 379.2 MB, free: 42.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.562e-06/0.3525, allocations: 0 / 379.2 MB, free: 42.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005592/0.3531, allocations: 250.2 kB / 379.4 MB, free: 42.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3531, allocations: 88.75 kB / 379.5 MB, free: 41.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3533, allocations: 179.2 kB / 379.7 MB, free: 41.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.3533, allocations: 48.19 kB / 379.7 MB, free: 41.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.3534, allocations: 105.6 kB / 379.8 MB, free: 41.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.3535, allocations: 39.2 kB / 379.9 MB, free: 41.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.3535, allocations: 5.375 kB / 379.9 MB, free: 41.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.656e-05/0.3536, allocations: 326.7 kB / 380.2 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.3538, allocations: 103.2 kB / 380.3 MB, free: 41.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.354, allocations: 134.7 kB / 380.4 MB, free: 41.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.3544, allocations: 223.1 kB / 380.6 MB, free: 41.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3544, allocations: 0 / 380.6 MB, free: 41.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005316/0.3549, allocations: 306.6 kB / 380.9 MB, free: 40.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.355, allocations: 5 kB / 380.9 MB, free: 40.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.355, allocations: 0 / 380.9 MB, free: 40.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.355, allocations: 2.438 kB / 380.9 MB, free: 40.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.3552, allocations: 34.89 kB / 381 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3552, allocations: 7.844 kB / 381 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.538e-05/0.3553, allocations: 24.92 kB / 381 MB, free: 40.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.3553, allocations: 6.344 kB / 381 MB, free: 40.86 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.0001345/0.3554, allocations: 155.6 kB / 381.2 MB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.3555, allocations: 14.28 kB / 381.2 MB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.3555, allocations: 15.73 kB / 381.2 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3555, allocations: 5.25 kB / 381.2 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3555, allocations: 5.156 kB / 381.2 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3556, allocations: 1.219 kB / 381.2 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3558, allocations: 206.8 kB / 381.4 MB, free: 40.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3558, allocations: 0 / 381.4 MB, free: 40.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/0.3558, allocations: 12.3 kB / 381.4 MB, free: 40.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3558, allocations: 1.094 kB / 381.4 MB, free: 40.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3559, allocations: 2.062 kB / 381.4 MB, free: 40.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3559, allocations: 1.375 kB / 381.4 MB, free: 40.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3559, allocations: 3.938 kB / 381.4 MB, free: 40.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.3563, allocations: 231.1 kB / 381.6 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/0.3564, allocations: 96.61 kB / 381.7 MB, free: 40.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.3564, allocations: 10.61 kB / 381.8 MB, free: 40.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.3565, allocations: 9.938 kB / 381.8 MB, free: 40.19 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.3566, allocations: 16.97 kB / 381.8 MB, free: 40.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3566, allocations: 2.906 kB / 381.8 MB, free: 40.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.3567, allocations: 120.8 kB / 381.9 MB, free: 40.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3567, allocations: 0 / 381.9 MB, free: 40.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.357, allocations: 53.67 kB / 382 MB, free: 40.07 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.0004885/0.3575, allocations: 227.4 kB / 382.2 MB, free: 39.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.358, allocations: 208.9 kB / 382.4 MB, free: 39.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.358, allocations: 0 / 382.4 MB, free: 39.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3581, allocations: 62.69 kB / 382.4 MB, free: 39.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.3583, allocations: 8.812 kB / 382.4 MB, free: 39.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.3589, allocations: 302.8 kB / 382.7 MB, free: 39.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.3591, allocations: 0.7182 MB / 383.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.3591, allocations: 13.97 kB / 383.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3591, allocations: 0 / 383.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of Templates: time 0.005203/0.3643, allocations: 2.427 MB / 385.9 MB, free: 37.48 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