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.001399/0.001406, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001174/0.001174, allocations: 190.1 kB / 19.34 MB, free: 3.777 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.439/1.439, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001421/0.001421, allocations: 51.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09115, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002679/0.09387, allocations: 1.335 MB / 377.2 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.09476, allocations: 359.7 kB / 377.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.09482, allocations: 0 / 377.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.09489, allocations: 7.938 kB / 377.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.659e-05/0.09496, allocations: 0 / 377.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.0955, allocations: 75.73 kB / 377.6 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.0956, allocations: 23.92 kB / 377.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.09565, allocations: 4 kB / 377.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.09569, allocations: 7.984 kB / 377.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.608e-05/0.09572, allocations: 7.938 kB / 377.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.09573, allocations: 0 / 377.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.09595, allocations: 91.84 kB / 377.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.09597, allocations: 0 / 377.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.09601, allocations: 11.94 kB / 377.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.09624, allocations: 91.8 kB / 377.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.09625, allocations: 3.938 kB / 377.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09626, allocations: 0 / 377.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.09627, allocations: 0 / 377.8 MB, free: 2.574 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.0004775/0.09675, allocations: 351.4 kB / 378.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.0968, allocations: 12.03 kB / 378.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.09684, allocations: 0.9375 kB / 378.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.09697, allocations: 168.4 kB / 378.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.09699, allocations: 4.375 kB / 378.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.097, allocations: 384 / 378.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.932e-05/0.0971, allocations: 34.2 kB / 378.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.09711, allocations: 192 / 378.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.09713, allocations: 3.938 kB / 378.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.09714, allocations: 7.984 kB / 378.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.09717, allocations: 8 kB / 378.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.0975, allocations: 244.9 kB / 378.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.09757, allocations: 26.52 kB / 378.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.09761, allocations: 16.86 kB / 378.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.09762, allocations: 0 / 378.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.09778, allocations: 59.39 kB / 378.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.0978, allocations: 0 / 378.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001825/0.09798, allocations: 57.62 kB / 378.8 MB, free: 1.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.09803, allocations: 51.41 kB / 378.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.09811, allocations: 109.8 kB / 379 MB, free: 1.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.09813, allocations: 25.7 kB / 379 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.09817, allocations: 80.14 kB / 379.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.0982, allocations: 15.91 kB / 379.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.09824, allocations: 17.72 kB / 379.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.09834, allocations: 314.8 kB / 379.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.09837, allocations: 4 kB / 379.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.0984, allocations: 21.97 kB / 379.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.849e-05/0.09846, allocations: 33.7 kB / 379.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.09847, allocations: 0 / 379.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.138e-05/0.09857, allocations: 61.56 kB / 379.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.09859, allocations: 8 kB / 379.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.0986, allocations: 0 / 379.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.09862, allocations: 0 / 379.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.0987, allocations: 4 kB / 379.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.09872, allocations: 4 kB / 379.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.09874, allocations: 11.84 kB / 379.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.09876, allocations: 3.984 kB / 379.5 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 7.358e-05/0.09884, allocations: 117.8 kB / 379.7 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.09885, allocations: 3.938 kB / 379.7 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.09888, allocations: 11.91 kB / 379.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.09889, allocations: 0 / 379.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.0989, allocations: 0 / 379.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.09893, allocations: 77.11 kB / 379.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.09895, allocations: 0 / 379.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.372e-05/0.09897, allocations: 3.984 kB / 379.8 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.099, allocations: 4 kB / 379.8 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001007/0.0991, allocations: 128.9 kB / 379.9 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1952/0.2944, allocations: 227.9 kB / 380.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.617e-05/0.2944, allocations: 7.469 kB / 380.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.916e-05/0.2945, allocations: 86.66 kB / 380.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of Backend: time 5.91e-07/0.2945, allocations: 0 / 380.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007241/0.2952, allocations: 166.3 kB / 380.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003102/0.2955, allocations: 0.5599 MB / 380.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of Templates: time 0.003537/0.2991, allocations: 0.9951 MB / 381.9 MB, free: 12.05 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/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