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.001641/0.001641, allocations: 105.4 kB / 17.73 MB, free: 5.367 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.00175/0.00175, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.675/1.675, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001225/0.001225, allocations: 47.94 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 46.61 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002763/0.1296, allocations: 1.483 MB / 376.6 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1307, allocations: 0.5585 MB / 377.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.1308, allocations: 0 / 377.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.1309, allocations: 11.86 kB / 377.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.131, allocations: 11.81 kB / 377.2 MB, free: 2.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.1316, allocations: 155.6 kB / 377.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1318, allocations: 123.6 kB / 377.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.575e-05/0.1319, allocations: 8.875 kB / 377.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.132, allocations: 51.77 kB / 377.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.1321, allocations: 55.75 kB / 377.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.1321, allocations: 12 kB / 377.6 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.1324, allocations: 119.8 kB / 377.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.424e-05/0.1324, allocations: 35.89 kB / 377.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.099e-05/0.1325, allocations: 59.61 kB / 377.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1329, allocations: 223.3 kB / 378 MB, free: 1.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1329, allocations: 0 / 378 MB, free: 1.699 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1329, allocations: 0 / 378 MB, free: 1.699 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1329, allocations: 0 / 378 MB, free: 1.699 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.0007629/0.1337, allocations: 446.9 kB / 378.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1337, allocations: 12.03 kB / 378.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.134, allocations: 36.72 kB / 378.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.1342, allocations: 211.9 kB / 378.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.1343, allocations: 12.38 kB / 378.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1343, allocations: 4.375 kB / 378.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.1345, allocations: 107.9 kB / 378.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.1345, allocations: 192 / 378.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1346, allocations: 3.938 kB / 378.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1346, allocations: 7.938 kB / 378.9 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.1347, allocations: 55.95 kB / 378.9 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.1354, allocations: 365.5 kB / 379.3 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.1357, allocations: 137 kB / 379.4 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1358, allocations: 53.91 kB / 379.4 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.1358, allocations: 4 kB / 379.5 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2671/0.403, allocations: 141.1 kB / 379.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 5.16e-06/0.403, allocations: 2.625 kB / 379.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008003/0.4039, allocations: 227 kB / 379.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/0.404, allocations: 93.42 kB / 379.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.4042, allocations: 180.9 kB / 380.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.4043, allocations: 50.59 kB / 380.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.4044, allocations: 106 kB / 380.2 MB, free: 12.6 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.4044, allocations: 36.97 kB / 380.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4046, allocations: 58.8 kB / 380.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4047, allocations: 328.5 kB / 380.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.4049, allocations: 97.53 kB / 380.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.4051, allocations: 131.8 kB / 380.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/0.4055, allocations: 218 kB / 381.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.4055, allocations: 1.375 kB / 381.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005304/0.4061, allocations: 294.3 kB / 381.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.4061, allocations: 5.5 kB / 381.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4061, allocations: 2.688 kB / 381.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.4061, allocations: 1.375 kB / 381.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.4063, allocations: 33.72 kB / 381.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4064, allocations: 4.906 kB / 381.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.4064, allocations: 22.78 kB / 381.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.4065, allocations: 6.156 kB / 381.5 MB, free: 12.17 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.0002141/0.4067, allocations: 149.8 kB / 381.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.4067, allocations: 14.45 kB / 381.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.4068, allocations: 21.86 kB / 381.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4068, allocations: 1.438 kB / 381.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.4068, allocations: 2.016 kB / 381.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.4069, allocations: 0.5312 kB / 381.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.4072, allocations: 217.9 kB / 381.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4072, allocations: 1 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.4073, allocations: 9.594 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.4073, allocations: 3.797 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.4073, allocations: 1.781 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4073, allocations: 4.031 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4073, allocations: 1.938 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.4078, allocations: 219.2 kB / 382.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.216e-05/0.4078, allocations: 90.59 kB / 382.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.4079, allocations: 14.5 kB / 382.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.816e-05/0.4079, allocations: 7.531 kB / 382.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.408, allocations: 16.47 kB / 382.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.4081, allocations: 4 kB / 382.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.4082, allocations: 127 kB / 382.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4082, allocations: 0.5625 kB / 382.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003918/0.4086, allocations: 59.47 kB / 382.4 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.0006286/0.4092, allocations: 238.7 kB / 382.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004936/0.4097, allocations: 193.1 kB / 382.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4097, allocations: 0 / 382.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.4099, allocations: 64.42 kB / 382.9 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.0001906/0.4101, allocations: 8.094 kB / 382.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.4106, allocations: 264 kB / 383.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.4108, allocations: 0.7079 MB / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.174e-05/0.4109, allocations: 18.14 kB / 383.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.411, allocations: 14.95 kB / 383.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of SimCode: time 9.01e-07/0.411, allocations: 1.062 kB / 383.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of Templates: time 0.006168/0.4171, allocations: 2.134 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