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.001432/0.001431, allocations: 113.4 kB / 17.73 MB, free: 5.344 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.001601/0.001601, allocations: 184.1 kB / 18.66 MB, free: 4.422 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.873/1.873, 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.001197/0.001197, allocations: 55.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1157, allocations: 46.61 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002762/0.1185, allocations: 1.332 MB / 376.5 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009004/0.1194, allocations: 363.7 kB / 376.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.1195, allocations: 0 / 376.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.1195, allocations: 0 / 376.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.1196, allocations: 3.938 kB / 376.8 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.1202, allocations: 87.72 kB / 376.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.1203, allocations: 15.94 kB / 376.9 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.1203, allocations: 7.984 kB / 376.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.1204, allocations: 7.984 kB / 376.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.376e-05/0.1204, allocations: 7.922 kB / 377 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1204, allocations: 4 kB / 377 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.1206, allocations: 83.91 kB / 377 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.1206, allocations: 4 kB / 377 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.1207, allocations: 7.938 kB / 377 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1209, allocations: 91.75 kB / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1209, allocations: 0 / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1209, allocations: 7.938 kB / 377.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1209, allocations: 0 / 377.1 MB, free: 2.566 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.0005133/0.1214, allocations: 355.3 kB / 377.5 MB, free: 2.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1215, allocations: 8.031 kB / 377.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.1215, allocations: 0.9375 kB / 377.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.1217, allocations: 164.4 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1217, allocations: 4.375 kB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1217, allocations: 384 / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.1219, allocations: 38.25 kB / 377.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1219, allocations: 192 / 377.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1219, allocations: 7.938 kB / 377.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.1219, allocations: 0 / 377.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.962e-05/0.122, allocations: 3.938 kB / 377.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.1224, allocations: 244.9 kB / 378 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.32e-05/0.1225, allocations: 26.58 kB / 378 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.1225, allocations: 20.84 kB / 378 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-06/0.1225, allocations: 0 / 378 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.1227, allocations: 55.34 kB / 378.1 MB, free: 1.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1227, allocations: 0 / 378.1 MB, free: 1.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001836/0.1229, allocations: 49.69 kB / 378.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1229, allocations: 59.34 kB / 378.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.123, allocations: 105.8 kB / 378.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.123, allocations: 29.7 kB / 378.3 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.1231, allocations: 84.14 kB / 378.4 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.1231, allocations: 8.75 kB / 378.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.1231, allocations: 17.7 kB / 378.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1233, allocations: 314.8 kB / 378.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.1233, allocations: 4 kB / 378.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.1233, allocations: 29.64 kB / 378.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.416e-05/0.1234, allocations: 29.72 kB / 378.8 MB, free: 0.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1234, allocations: 0 / 378.8 MB, free: 0.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.976e-05/0.1235, allocations: 61.56 kB / 378.8 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1235, allocations: 4 kB / 378.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1235, allocations: 0 / 378.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1235, allocations: 0 / 378.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.1236, allocations: 11.98 kB / 378.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1236, allocations: 0 / 378.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.1236, allocations: 7.906 kB / 378.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1236, allocations: 8.031 kB / 378.9 MB, free: 0.6094 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 8.887e-05/0.1237, allocations: 113.7 kB / 379 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-06/0.1238, allocations: 4 kB / 379 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.1238, allocations: 8.516 kB / 379 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1238, allocations: 3.984 kB / 379 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1238, allocations: 0 / 379 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.1238, allocations: 3.984 kB / 379 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1241, allocations: 294.5 kB / 379.3 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1241, allocations: 4 kB / 379.3 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.1241, allocations: 0 / 379.3 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1241, allocations: 4 kB / 379.3 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1241, allocations: 0 / 379.3 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1241, allocations: 3.938 kB / 379.3 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1241, allocations: 0 / 379.3 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2883/0.4124, allocations: 146.6 kB / 379.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.4125, allocations: 85.95 kB / 379.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4125, allocations: 1.375 kB / 379.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.113e-05/0.4126, allocations: 1.75 kB / 379.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.4126, allocations: 2.734 kB / 379.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.4127, allocations: 3.5 kB / 379.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.4127, allocations: 85.75 kB / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4127, allocations: 0 / 379.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003905/0.4131, allocations: 22.75 kB / 379.6 MB, free: 12.66 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.0004829/0.4136, allocations: 185.5 kB / 379.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.4138, allocations: 25.41 kB / 379.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4138, allocations: 2.781 kB / 379.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.4138, allocations: 13.58 kB / 379.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.4141, allocations: 5.781 kB / 379.9 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.4144, allocations: 116.2 kB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.4146, allocations: 0.6781 MB / 380.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.638e-05/0.4146, allocations: 11.56 kB / 380.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.4147, allocations: 9.641 kB / 380.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4147, allocations: 0 / 380.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of Templates: time 0.003682/0.4184, allocations: 0.951 MB / 381.6 MB, free: 11.64 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