Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 109.4 kB / 17.73 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 192.2 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 55.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1222, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00311/0.1254, allocations: 1.483 MB / 376.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1267, allocations: 0.5584 MB / 377.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.1268, allocations: 4 kB / 377.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.1269, allocations: 7.875 kB / 377.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.127, allocations: 11.81 kB / 377.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006539/0.1277, allocations: 155.6 kB / 377.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1279, allocations: 115.6 kB / 377.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.198e-05/0.128, allocations: 16.81 kB / 377.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.574e-05/0.128, allocations: 47.83 kB / 377.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.1281, allocations: 55.77 kB / 377.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1282, allocations: 8 kB / 377.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002809/0.1284, allocations: 131.8 kB / 377.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.398e-05/0.1285, allocations: 31.91 kB / 377.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.639e-05/0.1286, allocations: 55.66 kB / 377.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1289, allocations: 215.4 kB / 378 MB, free: 1.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1289, allocations: 3.938 kB / 378 MB, free: 1.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1289, allocations: 0 / 378 MB, free: 1.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.129, allocations: 0 / 378 MB, free: 1.68 MB / 318.1 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.0007973/0.1298, allocations: 458.8 kB / 378.5 MB, free: 1.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1298, allocations: 8.031 kB / 378.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003452/0.1302, allocations: 40.72 kB / 378.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1303, allocations: 200 kB / 378.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1304, allocations: 8.375 kB / 378.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1304, allocations: 8.375 kB / 378.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.1306, allocations: 119.8 kB / 378.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1306, allocations: 192 / 378.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1307, allocations: 3.938 kB / 378.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1307, allocations: 0 / 378.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1309, allocations: 55.97 kB / 378.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.1315, allocations: 369.5 kB / 379.3 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.1318, allocations: 137.1 kB / 379.4 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1319, allocations: 49.7 kB / 379.4 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.132, allocations: 0 / 379.4 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2842/0.4162, allocations: 141.4 kB / 379.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 7.564e-06/0.4162, allocations: 3.516 kB / 379.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.000974/0.4172, allocations: 231.2 kB / 379.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.4174, allocations: 93.7 kB / 379.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.4177, allocations: 181.4 kB / 380.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.4177, allocations: 45.92 kB / 380.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4178, allocations: 107.6 kB / 380.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.4179, allocations: 41.09 kB / 380.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4181, allocations: 55.61 kB / 380.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4182, allocations: 327.5 kB / 380.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.4185, allocations: 99.17 kB / 380.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.4188, allocations: 130.8 kB / 380.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/0.4193, allocations: 222.4 kB / 381.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4193, allocations: 0 / 381.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006287/0.4199, allocations: 291.3 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.42, allocations: 5.5 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.42, allocations: 0 / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.42, allocations: 2.75 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.4202, allocations: 33.97 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4203, allocations: 1.375 kB / 381.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/0.4203, allocations: 24.83 kB / 381.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.4204, allocations: 6.109 kB / 381.4 MB, free: 12.18 MB / 318.1 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,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001997/0.4206, allocations: 159 kB / 381.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.4206, allocations: 14.25 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.4207, allocations: 17.16 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4207, allocations: 0.8438 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4207, allocations: 4.188 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4207, allocations: 1.484 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.421, allocations: 213.8 kB / 381.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.421, allocations: 0.5312 kB / 381.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.931e-05/0.4211, allocations: 8.344 kB / 381.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4211, allocations: 2.078 kB / 381.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.4211, allocations: 2.531 kB / 381.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.4212, allocations: 3.375 kB / 381.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4212, allocations: 0.5625 kB / 381.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.4217, allocations: 219.4 kB / 382.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.4218, allocations: 93.91 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.4218, allocations: 15.89 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-05/0.4219, allocations: 6.125 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.422, allocations: 15.38 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.422, allocations: 3.875 kB / 382.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.4222, allocations: 128.2 kB / 382.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4222, allocations: 0 / 382.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004751/0.4227, allocations: 60.59 kB / 382.4 MB, free: 11.59 MB / 318.1 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 (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.0007545/0.4235, allocations: 235.7 kB / 382.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006338/0.4241, allocations: 200.8 kB / 382.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4241, allocations: 0 / 382.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.4243, allocations: 60.84 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.4246, allocations: 8.828 kB / 382.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.4253, allocations: 254.1 kB / 383.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.4257, allocations: 0.7123 MB / 383.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.4258, allocations: 23.2 kB / 383.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.4259, allocations: 18.08 kB / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4259, allocations: 1.25 kB / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of Templates: time 0.007795/0.4337, allocations: 2.133 MB / 386 MB, free: 10.34 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches