Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 176 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008295/0.0008298, allocations: 97.55 kB / 272.1 MB, free: 8.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2663, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001559/0.2679, allocations: 1.073 MB / 377.7 MB, free: 44.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008365/0.2688, allocations: 0.5843 MB / 378.3 MB, free: 44.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.2689, allocations: 0 / 378.3 MB, free: 44.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.2689, allocations: 1.25 kB / 378.3 MB, free: 44.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.269, allocations: 3.938 kB / 378.3 MB, free: 44.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.2694, allocations: 65.56 kB / 378.3 MB, free: 44.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.2694, allocations: 14.58 kB / 378.3 MB, free: 44.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.2695, allocations: 6.094 kB / 378.3 MB, free: 44.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.736e-05/0.2695, allocations: 6.109 kB / 378.4 MB, free: 44.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.506e-05/0.2696, allocations: 11.38 kB / 378.4 MB, free: 44.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.607e-06/0.2696, allocations: 0 / 378.4 MB, free: 44.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.2698, allocations: 80.34 kB / 378.4 MB, free: 44.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.2698, allocations: 5.156 kB / 378.4 MB, free: 44.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.2698, allocations: 32.8 kB / 378.5 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.27, allocations: 87.39 kB / 378.6 MB, free: 43.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.27, allocations: 0 / 378.6 MB, free: 43.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.27, allocations: 0 / 378.6 MB, free: 43.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.27, allocations: 3.938 kB / 378.6 MB, free: 43.96 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.0003143/0.2704, allocations: 343.1 kB / 378.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2704, allocations: 9.156 kB / 378.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.2704, allocations: 2.281 kB / 378.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.75e-05/0.2705, allocations: 166.7 kB / 379.1 MB, free: 43.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2706, allocations: 1.719 kB / 379.1 MB, free: 43.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.2706, allocations: 1.5 kB / 379.1 MB, free: 43.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.629e-05/0.2707, allocations: 37.81 kB / 379.1 MB, free: 43.35 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2707, allocations: 1.156 kB / 379.1 MB, free: 43.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2707, allocations: 3.938 kB / 379.1 MB, free: 43.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2707, allocations: 1.062 kB / 379.1 MB, free: 43.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.122e-05/0.2707, allocations: 2.125 kB / 379.1 MB, free: 43.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.271, allocations: 249 kB / 379.4 MB, free: 43.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.169e-05/0.2711, allocations: 27.88 kB / 379.4 MB, free: 43.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.2711, allocations: 18.05 kB / 379.4 MB, free: 43.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.2711, allocations: 0 / 379.4 MB, free: 43.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.2712, allocations: 46.59 kB / 379.5 MB, free: 42.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.2712, allocations: 5.031 kB / 379.5 MB, free: 42.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001605/0.2714, allocations: 58.06 kB / 379.5 MB, free: 42.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.2714, allocations: 55.39 kB / 379.6 MB, free: 42.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.2715, allocations: 105.9 kB / 379.7 MB, free: 42.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.2715, allocations: 25.7 kB / 379.7 MB, free: 42.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.2716, allocations: 94.09 kB / 379.8 MB, free: 42.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.2716, allocations: 8.938 kB / 379.8 MB, free: 42.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.2716, allocations: 0 / 379.8 MB, free: 42.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.672e-05/0.2716, allocations: 320 kB / 380.1 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.2717, allocations: 3.531 kB / 380.1 MB, free: 42.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.2717, allocations: 23.86 kB / 380.1 MB, free: 42.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.2717, allocations: 30.55 kB / 380.2 MB, free: 42.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2717, allocations: 0 / 380.2 MB, free: 42.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.796e-05/0.2718, allocations: 63 kB / 380.2 MB, free: 42.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2718, allocations: 4.688 kB / 380.2 MB, free: 42.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2719, allocations: 5 kB / 380.2 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.2719, allocations: 1.5 kB / 380.2 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.2719, allocations: 10.3 kB / 380.3 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2719, allocations: 0 / 380.3 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.272, allocations: 9.219 kB / 380.3 MB, free: 42.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.272, allocations: 2.125 kB / 380.3 MB, free: 42.17 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,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * 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.316e-05/0.272, allocations: 115.8 kB / 380.4 MB, free: 42.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.2721, allocations: 2.125 kB / 380.4 MB, free: 42.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.2721, allocations: 5 kB / 380.4 MB, free: 42.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2721, allocations: 4 kB / 380.4 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2721, allocations: 1.094 kB / 380.4 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2721, allocations: 0 / 380.4 MB, free: 42.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.2723, allocations: 296 kB / 380.7 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2723, allocations: 1.031 kB / 380.7 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.207e-05/0.2723, allocations: 1.094 kB / 380.7 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2723, allocations: 1 kB / 380.7 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2723, allocations: 1.031 kB / 380.7 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2723, allocations: 0 / 380.7 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2723, allocations: 1.188 kB / 380.7 MB, free: 41.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.967e-05/0.2724, allocations: 150.3 kB / 380.8 MB, free: 41.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.2724, allocations: 86.19 kB / 380.9 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2725, allocations: 7.938 kB / 380.9 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-05/0.2725, allocations: 1.031 kB / 380.9 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.2725, allocations: 0.9062 kB / 380.9 MB, free: 41.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.2726, allocations: 1.5 kB / 380.9 MB, free: 41.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.509e-05/0.2726, allocations: 83.8 kB / 381 MB, free: 41.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2726, allocations: 4 kB / 381 MB, free: 41.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.2729, allocations: 26.75 kB / 381 MB, free: 41.37 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.000384/0.2733, allocations: 212.2 kB / 381.2 MB, free: 41.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.492e-05/0.2734, allocations: 21.23 kB / 381.3 MB, free: 41.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2734, allocations: 0 / 381.3 MB, free: 41.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.666e-05/0.2734, allocations: 13.66 kB / 381.3 MB, free: 41.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.2736, allocations: 1.156 kB / 381.3 MB, free: 41.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.2738, allocations: 116.2 kB / 381.4 MB, free: 41.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.274, allocations: 0.6821 MB / 382.1 MB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.867e-05/0.274, allocations: 8.219 kB / 382.1 MB, free: 40.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.274, allocations: 12.66 kB / 382.1 MB, free: 40.37 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.274, allocations: 0 / 382.1 MB, free: 40.37 MB / 298.7 MB Notification: Performance of Templates: time 0.003007/0.277, allocations: 0.9265 MB / 383 MB, free: 39.88 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/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