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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001114, allocations: 183 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.1 MB / 223.7 MB, free: 8.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009464/0.0009465, allocations: 95.98 kB / 271.2 MB, free: 8.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008216/0.0008218, allocations: 35.94 kB / 327.2 MB, free: 352 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2279, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.00254/0.2305, allocations: 1.412 MB / 375.2 MB, free: 44.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007174/0.2312, allocations: 374.1 kB / 375.6 MB, free: 44.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.2313, allocations: 0 / 375.6 MB, free: 44.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.2313, allocations: 4.969 kB / 375.6 MB, free: 44.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.2314, allocations: 3.938 kB / 375.6 MB, free: 44.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.2318, allocations: 65.91 kB / 375.7 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.2318, allocations: 23.28 kB / 375.7 MB, free: 44.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.2319, allocations: 5.922 kB / 375.7 MB, free: 44.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.2319, allocations: 6.531 kB / 375.7 MB, free: 44.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.98e-05/0.2319, allocations: 6.531 kB / 375.7 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.232, allocations: 1.375 kB / 375.7 MB, free: 44.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.2321, allocations: 87.84 kB / 375.8 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2321, allocations: 1.156 kB / 375.8 MB, free: 44.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.2322, allocations: 14.3 kB / 375.8 MB, free: 44.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.2323, allocations: 83.44 kB / 375.9 MB, free: 44.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2323, allocations: 0 / 375.9 MB, free: 44.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2323, allocations: 0 / 375.9 MB, free: 44.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2323, allocations: 0 / 375.9 MB, free: 44.25 MB / 298.7 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.0003612/0.2327, allocations: 350.8 kB / 376.2 MB, free: 43.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2328, allocations: 9.219 kB / 376.2 MB, free: 43.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.2328, allocations: 2.031 kB / 376.2 MB, free: 43.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.2329, allocations: 170.7 kB / 376.4 MB, free: 43.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2329, allocations: 1.594 kB / 376.4 MB, free: 43.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.2329, allocations: 1.469 kB / 376.4 MB, free: 43.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.023e-05/0.233, allocations: 37.8 kB / 376.4 MB, free: 43.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.233, allocations: 192 / 376.4 MB, free: 43.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.233, allocations: 4.969 kB / 376.5 MB, free: 43.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.233, allocations: 0 / 376.5 MB, free: 43.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.967e-05/0.2331, allocations: 10.45 kB / 376.5 MB, free: 43.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.2333, allocations: 238 kB / 376.7 MB, free: 43.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.265e-05/0.2334, allocations: 24.3 kB / 376.7 MB, free: 43.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.2334, allocations: 21.23 kB / 376.7 MB, free: 43.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.2335, allocations: 1.062 kB / 376.7 MB, free: 43.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.2336, allocations: 50.5 kB / 376.8 MB, free: 43.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2336, allocations: 1.062 kB / 376.8 MB, free: 43.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001549/0.2337, allocations: 58.23 kB / 376.8 MB, free: 43.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.2338, allocations: 55.34 kB / 376.9 MB, free: 43.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.608e-05/0.2338, allocations: 109.6 kB / 377 MB, free: 43.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.2338, allocations: 26.77 kB / 377 MB, free: 42.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.417e-05/0.2339, allocations: 85.27 kB / 377.1 MB, free: 42.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.2339, allocations: 16.89 kB / 377.1 MB, free: 42.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.2339, allocations: 18.53 kB / 377.2 MB, free: 42.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.234, allocations: 316 kB / 377.5 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.234, allocations: 7.406 kB / 377.5 MB, free: 42.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.234, allocations: 24.62 kB / 377.5 MB, free: 42.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.2341, allocations: 30.86 kB / 377.5 MB, free: 42.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2341, allocations: 0 / 377.5 MB, free: 42.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.846e-05/0.2342, allocations: 70.25 kB / 377.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.2342, allocations: 5.688 kB / 377.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.2342, allocations: 1.094 kB / 377.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2342, allocations: 0 / 377.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.2343, allocations: 6.906 kB / 377.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2343, allocations: 0 / 377.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.2343, allocations: 1.125 kB / 377.6 MB, free: 42.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.2343, allocations: 6.172 kB / 377.6 MB, free: 42.43 MB / 298.7 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 5.15e-05/0.2344, allocations: 124.1 kB / 377.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.2344, allocations: 2.188 kB / 377.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.992e-05/0.2344, allocations: 5.203 kB / 377.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2344, allocations: 3.984 kB / 377.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2345, allocations: 1.094 kB / 377.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2345, allocations: 0 / 377.7 MB, free: 42.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.2346, allocations: 281.1 kB / 378 MB, free: 41.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2346, allocations: 3.984 kB / 378 MB, free: 41.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.238e-05/0.2347, allocations: 2.219 kB / 378 MB, free: 41.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2347, allocations: 4 kB / 378 MB, free: 41.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.2347, allocations: 1.094 kB / 378 MB, free: 41.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.2347, allocations: 3.938 kB / 378 MB, free: 41.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2347, allocations: 5.031 kB / 378 MB, free: 41.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.2349, allocations: 0.6992 MB / 378.7 MB, free: 41.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.2349, allocations: 78.2 kB / 378.8 MB, free: 41.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.235, allocations: 1.188 kB / 378.8 MB, free: 41.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.997e-05/0.235, allocations: 11.92 kB / 378.8 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.235, allocations: 1.5 kB / 378.8 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.2351, allocations: 1.219 kB / 378.8 MB, free: 41.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.309e-05/0.2351, allocations: 84.47 kB / 378.9 MB, free: 41.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2351, allocations: 0 / 378.9 MB, free: 41.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.2355, allocations: 26.52 kB / 378.9 MB, free: 41.04 MB / 298.7 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.0003894/0.2358, allocations: 183.3 kB / 379.1 MB, free: 40.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.806e-05/0.2359, allocations: 17.56 kB / 379.1 MB, free: 40.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.236, allocations: 0 / 379.1 MB, free: 40.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.388e-05/0.236, allocations: 14.05 kB / 379.2 MB, free: 40.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.2362, allocations: 5.062 kB / 379.2 MB, free: 40.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.2365, allocations: 226.3 kB / 379.4 MB, free: 40.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.2367, allocations: 0.6787 MB / 380.1 MB, free: 39.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.339e-05/0.2368, allocations: 8.922 kB / 380.1 MB, free: 39.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.2368, allocations: 8.656 kB / 380.1 MB, free: 39.96 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2368, allocations: 0 / 380.1 MB, free: 39.96 MB / 298.7 MB Notification: Performance of Templates: time 0.003087/0.2399, allocations: 0.947 MB / 381 MB, free: 39.45 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches