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.001251/0.00125, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001311/0.001311, allocations: 193.2 kB / 19.33 MB, free: 3.781 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.458/1.458, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001164/0.001164, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1047, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003428/0.1081, allocations: 1.475 MB / 377.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1093, allocations: 0.5553 MB / 377.8 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.1094, allocations: 4 kB / 377.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.855e-05/0.1095, allocations: 7.875 kB / 377.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.1096, allocations: 23.8 kB / 377.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.1102, allocations: 147.6 kB / 378 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1103, allocations: 123.6 kB / 378.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.1104, allocations: 20.73 kB / 378.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.1105, allocations: 51.83 kB / 378.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.018e-05/0.1105, allocations: 55.75 kB / 378.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1106, allocations: 8 kB / 378.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.1108, allocations: 127.8 kB / 378.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.1109, allocations: 27.92 kB / 378.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.1109, allocations: 63.64 kB / 378.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1113, allocations: 207.4 kB / 378.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1113, allocations: 7.922 kB / 378.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1113, allocations: 0 / 378.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1113, allocations: 0 / 378.7 MB, free: 1.676 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.0006878/0.112, allocations: 454.9 kB / 379.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.112, allocations: 8.031 kB / 379.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.1124, allocations: 48.72 kB / 379.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.1125, allocations: 188 kB / 379.4 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1126, allocations: 12.36 kB / 379.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1126, allocations: 12.36 kB / 379.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.1128, allocations: 111.9 kB / 379.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1129, allocations: 192 / 379.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1129, allocations: 3.938 kB / 379.5 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1129, allocations: 4 kB / 379.5 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.1131, allocations: 55.95 kB / 379.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006677/0.1138, allocations: 369.5 kB / 379.9 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.1141, allocations: 129 kB / 380.1 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1142, allocations: 57.75 kB / 380.1 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.1142, allocations: 0 / 380.1 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2296/0.3438, allocations: 143.2 kB / 380.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 2.946e-06/0.3438, allocations: 1.094 kB / 380.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.000597/0.3444, allocations: 233.1 kB / 380.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3445, allocations: 89.92 kB / 380.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3447, allocations: 182.6 kB / 380.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.3447, allocations: 47.02 kB / 380.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.3448, allocations: 103.1 kB / 380.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.3449, allocations: 39.47 kB / 380.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.3449, allocations: 59.03 kB / 381 MB, free: 12.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.345, allocations: 327.7 kB / 381.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3452, allocations: 103.8 kB / 381.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.3454, allocations: 126.2 kB / 381.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.3458, allocations: 219 kB / 381.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3458, allocations: 4.469 kB / 381.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004817/0.3463, allocations: 293.2 kB / 382 MB, free: 12.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3463, allocations: 5.5 kB / 382.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3463, allocations: 1.5 kB / 382.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3463, allocations: 2.75 kB / 382.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3465, allocations: 34.28 kB / 382.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3465, allocations: 1.375 kB / 382.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.3466, allocations: 21.02 kB / 382.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.3466, allocations: 9 kB / 382.1 MB, free: 12.16 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.000138/0.3468, allocations: 154.1 kB / 382.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3468, allocations: 17.61 kB / 382.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.3469, allocations: 13.44 kB / 382.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3469, allocations: 4.875 kB / 382.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3469, allocations: 0.7188 kB / 382.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3469, allocations: 1.906 kB / 382.3 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.3471, allocations: 216.6 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3471, allocations: 1.125 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.057e-05/0.3472, allocations: 7.875 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3472, allocations: 1.125 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3472, allocations: 12.36 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.3472, allocations: 1.156 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3472, allocations: 0.5625 kB / 382.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3476, allocations: 213.8 kB / 382.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.3476, allocations: 96.67 kB / 382.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.3477, allocations: 12.05 kB / 382.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.3477, allocations: 5.812 kB / 382.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.3478, allocations: 13.05 kB / 382.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.3478, allocations: 3.578 kB / 382.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.3479, allocations: 130.2 kB / 383 MB, free: 11.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3479, allocations: 0 / 383 MB, free: 11.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.3483, allocations: 49.2 kB / 383.1 MB, free: 11.57 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.0004986/0.3488, allocations: 247 kB / 383.3 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.3492, allocations: 191.6 kB / 383.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3493, allocations: 0 / 383.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3494, allocations: 62.34 kB / 383.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.3496, allocations: 13.44 kB / 383.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.3501, allocations: 295.8 kB / 383.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.3503, allocations: 0.7083 MB / 384.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.14e-05/0.3503, allocations: 18.58 kB / 384.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3503, allocations: 5.031 kB / 384.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Templates: time 0.005407/0.3558, allocations: 2.469 MB / 387 MB, free: 10.23 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/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