Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 91.89 kB / 16.65 MB, free: 6.535 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.001278/0.001278, allocations: 171.8 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.000337, allocations: 8 kB / 301.4 MB, free: 6.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 50.41 MB / 351.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001747/0.1267, allocations: 1.073 MB / 352.9 MB, free: 2.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.1276, allocations: 359.7 kB / 353.3 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.1276, allocations: 0 / 353.3 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.1277, allocations: 3.938 kB / 353.3 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.789e-05/0.1277, allocations: 4 kB / 353.3 MB, free: 2.285 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.1282, allocations: 67.86 kB / 353.3 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.1282, allocations: 15.94 kB / 353.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.1283, allocations: 7.984 kB / 353.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.922e-05/0.1283, allocations: 7.938 kB / 353.4 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.599e-05/0.1284, allocations: 7.922 kB / 353.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1284, allocations: 0 / 353.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.1286, allocations: 87.86 kB / 353.4 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.1286, allocations: 3.984 kB / 353.5 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.1287, allocations: 29.64 kB / 353.5 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1288, allocations: 87.81 kB / 353.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1288, allocations: 4 kB / 353.6 MB, free: 1.965 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1288, allocations: 0 / 353.6 MB, free: 1.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1289, allocations: 0 / 353.6 MB, free: 1.965 MB / 286.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.0003835/0.1292, allocations: 339.5 kB / 353.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1293, allocations: 8.031 kB / 353.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.1293, allocations: 4.938 kB / 353.9 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1294, allocations: 168.6 kB / 354.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1295, allocations: 384 / 354.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1295, allocations: 4.375 kB / 354.1 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.395e-05/0.1296, allocations: 45.81 kB / 354.1 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1296, allocations: 3.938 kB / 354.1 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1296, allocations: 0 / 354.1 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1296, allocations: 3.938 kB / 354.1 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.1296, allocations: 4 kB / 354.1 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.13, allocations: 248.8 kB / 354.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.889e-05/0.13, allocations: 22.58 kB / 354.4 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.1301, allocations: 12.92 kB / 354.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1301, allocations: 4 kB / 354.4 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.1302, allocations: 55.33 kB / 354.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.1302, allocations: 0 / 354.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001683/0.1304, allocations: 57.67 kB / 354.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1304, allocations: 55.34 kB / 354.6 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.1305, allocations: 109.8 kB / 354.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1306, allocations: 29.7 kB / 354.7 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.1306, allocations: 84.08 kB / 354.8 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.1306, allocations: 3.906 kB / 354.8 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.1307, allocations: 17.72 kB / 354.8 MB, free: 0.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1308, allocations: 318.8 kB / 355.1 MB, free: 184 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.1308, allocations: 8 kB / 355.1 MB, free: 176 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.1309, allocations: 17.72 kB / 355.2 MB, free: 152 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.1309, allocations: 33.7 kB / 355.2 MB, free: 112 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1309, allocations: 0 / 355.2 MB, free: 112 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.325e-05/0.131, allocations: 61.53 kB / 355.3 MB, free: 44 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1311, allocations: 8 kB / 355.3 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1311, allocations: 0 / 355.3 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1311, allocations: 0 / 355.3 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.924e-05/0.1311, allocations: 8 kB / 355.3 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1312, allocations: 384 / 355.3 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.565e-05/0.1312, allocations: 4.031 kB / 355.3 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1312, allocations: 0 / 355.3 MB, free: 24 kB / 286.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 0.0001182/0.1313, allocations: 125.6 kB / 355.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.1313, allocations: 12 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.1314, allocations: 3.906 kB / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1314, allocations: 0 / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1314, allocations: 0 / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1314, allocations: 0 / 355.4 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.1316, allocations: 294.6 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1316, allocations: 3.984 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.1317, allocations: 0 / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1317, allocations: 0 / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1317, allocations: 4 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1317, allocations: 0 / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1317, allocations: 0 / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1318, allocations: 155.4 kB / 355.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.1319, allocations: 77.11 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1319, allocations: 4 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.084e-05/0.1319, allocations: 3.984 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.132, allocations: 4 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.132, allocations: 3.938 kB / 356 MB, free: 15.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.747e-05/0.132, allocations: 87.22 kB / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.132, allocations: 0 / 356 MB, free: 15.15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1323, allocations: 27.98 kB / 356.1 MB, free: 15.12 MB / 302.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.000375/0.1327, allocations: 194.2 kB / 356.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.562e-05/0.1328, allocations: 19.94 kB / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1328, allocations: 0 / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.1328, allocations: 11.98 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.133, allocations: 8.062 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.1332, allocations: 116.6 kB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1335, allocations: 0.677 MB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.917e-05/0.1335, allocations: 7.984 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.1335, allocations: 7.438 kB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1335, allocations: 0 / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of Templates: time 0.003182/0.1367, allocations: 0.9258 MB / 358 MB, free: 13.13 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches