Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001747/0.001747, allocations: 183 kB / 18.66 MB, free: 4.414 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.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.001285/0.001285, allocations: 59.91 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1172, allocations: 46.61 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002256/0.1195, allocations: 1.328 MB / 376.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006912/0.1202, allocations: 363.7 kB / 376.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.1202, allocations: 0 / 376.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.1202, allocations: 3.938 kB / 376.8 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.1203, allocations: 3.984 kB / 376.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.1208, allocations: 87.66 kB / 376.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.1208, allocations: 12 kB / 376.9 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.1209, allocations: 11.92 kB / 376.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.1209, allocations: 8 kB / 376.9 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.046e-05/0.1209, allocations: 7.922 kB / 377 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.121, allocations: 4 kB / 377 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.1211, allocations: 87.84 kB / 377 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1212, allocations: 4 kB / 377 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.1212, allocations: 7.938 kB / 377.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1214, allocations: 87.81 kB / 377.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.1214, allocations: 0 / 377.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1214, allocations: 4 kB / 377.1 MB, free: 2.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1214, allocations: 0 / 377.1 MB, free: 2.562 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003454/0.1217, allocations: 355.3 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1218, allocations: 8.031 kB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1218, allocations: 0.9375 kB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.1219, allocations: 168.3 kB / 377.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1219, allocations: 384 / 377.7 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1219, allocations: 8.359 kB / 377.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.47e-05/0.122, allocations: 34.27 kB / 377.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.122, allocations: 4.188 kB / 377.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1221, allocations: 3.938 kB / 377.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1221, allocations: 3.984 kB / 377.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.1221, allocations: 0 / 377.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.1224, allocations: 244.9 kB / 378 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.739e-05/0.1224, allocations: 30.5 kB / 378 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.1225, allocations: 20.86 kB / 378 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-06/0.1225, allocations: 0 / 378 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.883e-05/0.1226, allocations: 51.41 kB / 378.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1226, allocations: 0 / 378.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001627/0.1228, allocations: 57.61 kB / 378.1 MB, free: 1.418 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1228, allocations: 55.34 kB / 378.2 MB, free: 1.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.1229, allocations: 109.8 kB / 378.3 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.1229, allocations: 29.7 kB / 378.3 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.123, allocations: 84.14 kB / 378.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.123, allocations: 4.75 kB / 378.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.123, allocations: 17.72 kB / 378.4 MB, free: 1.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1231, allocations: 322.8 kB / 378.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.1232, allocations: 4 kB / 378.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.969e-05/0.1232, allocations: 17.72 kB / 378.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.1232, allocations: 33.64 kB / 378.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1232, allocations: 0 / 378.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.265e-05/0.1233, allocations: 61.62 kB / 378.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1234, allocations: 4 kB / 378.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1234, allocations: 3.938 kB / 378.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1234, allocations: 0 / 378.8 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.1234, allocations: 12.31 kB / 378.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1235, allocations: 0 / 378.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.1235, allocations: 7.906 kB / 378.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1235, allocations: 8.031 kB / 378.9 MB, free: 0.5938 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 6.653e-05/0.1236, allocations: 121.8 kB / 379 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.1236, allocations: 0 / 379 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.1236, allocations: 3.906 kB / 379 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1236, allocations: 0 / 379 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1236, allocations: 0 / 379 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1236, allocations: 0 / 379 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.1238, allocations: 290.5 kB / 379.3 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1238, allocations: 0 / 379.3 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.1239, allocations: 8 kB / 379.3 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1239, allocations: 3.984 kB / 379.3 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1239, allocations: 0 / 379.3 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1239, allocations: 3.938 kB / 379.3 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1239, allocations: 0 / 379.3 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2487/0.3726, allocations: 142.4 kB / 379.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.3727, allocations: 83.05 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3728, allocations: 1.344 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.3728, allocations: 2.625 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.3729, allocations: 1.25 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.3729, allocations: 5.172 kB / 379.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.568e-05/0.373, allocations: 84.95 kB / 379.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.373, allocations: 0 / 379.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.3734, allocations: 27.75 kB / 379.6 MB, free: 12.73 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005099/0.3739, allocations: 193.4 kB / 379.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.3741, allocations: 23.02 kB / 379.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3741, allocations: 3.844 kB / 379.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.3741, allocations: 9.719 kB / 379.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.3744, allocations: 3.781 kB / 379.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.3748, allocations: 120.3 kB / 380 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.375, allocations: 0.6781 MB / 380.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.664e-05/0.3751, allocations: 7.078 kB / 380.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.3751, allocations: 12.19 kB / 380.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3751, allocations: 2.906 kB / 380.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of Templates: time 0.004459/0.3796, allocations: 0.9561 MB / 381.6 MB, free: 11.72 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches