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.001392/0.001392, allocations: 93.02 kB / 17.3 MB, free: 6.391 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.001719/0.001719, allocations: 173.4 kB / 18.2 MB, free: 5.551 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.668/1.668, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004889/0.0004889, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.111, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00183/0.1129, allocations: 1.225 MB / 330.2 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.114, allocations: 0.5704 MB / 330.8 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.1141, allocations: 0 / 330.8 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.91e-05/0.1142, allocations: 7.938 kB / 330.8 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.1142, allocations: 7.875 kB / 330.8 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.1147, allocations: 127.7 kB / 330.9 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1149, allocations: 115.5 kB / 331 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.115, allocations: 13.11 kB / 331 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.943e-05/0.115, allocations: 47.83 kB / 331.1 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.1151, allocations: 51.77 kB / 331.1 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1152, allocations: 4 kB / 331.1 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.1154, allocations: 123.8 kB / 331.2 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.1154, allocations: 27.91 kB / 331.3 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.1155, allocations: 77.36 kB / 331.3 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.1159, allocations: 207.7 kB / 331.5 MB, free: 1.145 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1159, allocations: 3.938 kB / 331.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.116, allocations: 0 / 331.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.116, allocations: 0 / 331.6 MB, free: 1.141 MB / 270.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.0006261/0.1166, allocations: 442.9 kB / 332 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1166, allocations: 8.031 kB / 332 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003728/0.117, allocations: 36.81 kB / 332 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.1172, allocations: 200 kB / 332.2 MB, free: 388 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1172, allocations: 4.375 kB / 332.2 MB, free: 384 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1173, allocations: 12.36 kB / 332.2 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.1175, allocations: 119.9 kB / 332.4 MB, free: 240 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1175, allocations: 192 / 332.4 MB, free: 240 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1175, allocations: 7.938 kB / 332.4 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1176, allocations: 0 / 332.4 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.1177, allocations: 67.94 kB / 332.4 MB, free: 164 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.1184, allocations: 373.5 kB / 332.8 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.1188, allocations: 145 kB / 332.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1189, allocations: 69.75 kB / 333 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.1189, allocations: 0 / 333 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.1192, allocations: 149 kB / 333.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1192, allocations: 0 / 333.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005164/0.1197, allocations: 246 kB / 333.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.1198, allocations: 93.11 kB / 333.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.12, allocations: 182.3 kB / 333.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.12, allocations: 45.69 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.1201, allocations: 108.5 kB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.1202, allocations: 43.44 kB / 333.9 MB, free: 14.6 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.1202, allocations: 37.7 kB / 333.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1204, allocations: 330.8 kB / 334.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1206, allocations: 100.5 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.1208, allocations: 131.5 kB / 334.4 MB, free: 13.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.1211, allocations: 230.8 kB / 334.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1212, allocations: 0 / 334.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004897/0.1217, allocations: 301.3 kB / 335 MB, free: 13.45 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1217, allocations: 4.062 kB / 335 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1217, allocations: 8 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1217, allocations: 0 / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1219, allocations: 35.91 kB / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1219, allocations: 3.984 kB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.288e-05/0.122, allocations: 23.78 kB / 335 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.122, allocations: 12 kB / 335 MB, free: 13.36 MB / 286.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.0001347/0.1221, allocations: 153.8 kB / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.1222, allocations: 15.81 kB / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.1222, allocations: 13.39 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1222, allocations: 4 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1222, allocations: 0 / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1222, allocations: 0 / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.1224, allocations: 209.4 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1225, allocations: 4 kB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.1225, allocations: 15.98 kB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1225, allocations: 0 / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1225, allocations: 4 kB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1225, allocations: 0 / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1226, allocations: 4 kB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.1229, allocations: 233 kB / 335.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.123, allocations: 92.91 kB / 335.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.123, allocations: 8 kB / 335.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.1231, allocations: 11.98 kB / 335.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.1231, allocations: 11.98 kB / 335.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1231, allocations: 3.938 kB / 335.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.927e-05/0.1232, allocations: 127.2 kB / 335.9 MB, free: 12.37 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1232, allocations: 4 kB / 335.9 MB, free: 12.37 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000292/0.1235, allocations: 47.98 kB / 336 MB, free: 12.32 MB / 286.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.0004565/0.124, allocations: 220.2 kB / 336.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003931/0.1244, allocations: 211.6 kB / 336.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1244, allocations: 0 / 336.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1246, allocations: 68.09 kB / 336.5 MB, free: 11.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.1248, allocations: 8 kB / 336.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.1252, allocations: 283 kB / 336.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.1254, allocations: 0.7121 MB / 337.5 MB, free: 10.78 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.127e-05/0.1255, allocations: 24.81 kB / 337.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.1255, allocations: 15.44 kB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1255, allocations: 4 kB / 337.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of Templates: time 0.004834/0.1304, allocations: 1.986 MB / 339.5 MB, free: 8.742 MB / 286.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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches