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.001297/0.001298, allocations: 113.3 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.001301/0.001301, allocations: 189.3 kB / 19.33 MB, free: 3.781 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.289/1.289, 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.001188/0.001188, allocations: 52.3 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08835/0.08954, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002489/0.09207, allocations: 1.32 MB / 377.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007666/0.09286, allocations: 365.2 kB / 377.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.09292, allocations: 0 / 377.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.09296, allocations: 0 / 377.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.09302, allocations: 3.938 kB / 377.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.0935, allocations: 83.72 kB / 377.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.09358, allocations: 19.94 kB / 377.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.09363, allocations: 3.984 kB / 377.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.09366, allocations: 15.91 kB / 377.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.12e-05/0.09369, allocations: 4 kB / 377.6 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.0937, allocations: 4 kB / 377.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.09389, allocations: 79.91 kB / 377.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.09392, allocations: 15.88 kB / 377.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.09395, allocations: 0 / 377.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.09414, allocations: 91.81 kB / 377.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.09416, allocations: 3.938 kB / 377.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.09417, allocations: 11.94 kB / 377.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.09418, allocations: 0 / 377.8 MB, free: 2.551 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.0003898/0.09457, allocations: 347.4 kB / 378.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.09462, allocations: 8.031 kB / 378.2 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.09466, allocations: 4.938 kB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.09477, allocations: 160.4 kB / 378.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.09479, allocations: 384 / 378.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.09481, allocations: 4.375 kB / 378.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.024e-05/0.09491, allocations: 38.25 kB / 378.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.09492, allocations: 4.188 kB / 378.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.09494, allocations: 3.938 kB / 378.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.09495, allocations: 0 / 378.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.09497, allocations: 4 kB / 378.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.09529, allocations: 244.8 kB / 378.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.09536, allocations: 26.56 kB / 378.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.09539, allocations: 20.86 kB / 378.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.0954, allocations: 0 / 378.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.09554, allocations: 47.41 kB / 378.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.565e-06/0.09555, allocations: 3.938 kB / 378.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000156/0.09571, allocations: 57.62 kB / 378.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.09576, allocations: 59.39 kB / 378.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.09584, allocations: 105.9 kB / 378.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.09587, allocations: 29.7 kB / 379 MB, free: 1.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.09591, allocations: 88.12 kB / 379.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.09593, allocations: 3.906 kB / 379.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.09597, allocations: 17.72 kB / 379.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.09606, allocations: 314.8 kB / 379.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/0.09609, allocations: 11.98 kB / 379.4 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.09613, allocations: 17.72 kB / 379.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.09618, allocations: 33.66 kB / 379.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.09619, allocations: 0 / 379.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.713e-05/0.09628, allocations: 65.55 kB / 379.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.0963, allocations: 4 kB / 379.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.09631, allocations: 0 / 379.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.09632, allocations: 4 kB / 379.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.09639, allocations: 4 kB / 379.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.0964, allocations: 0 / 379.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.09643, allocations: 7.906 kB / 379.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.09644, allocations: 7.969 kB / 379.5 MB, free: 0.5977 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 6.881e-05/0.09651, allocations: 117.8 kB / 379.7 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.09653, allocations: 4.219 kB / 379.7 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.248e-05/0.09655, allocations: 3.906 kB / 379.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.09656, allocations: 3.984 kB / 379.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.09657, allocations: 4 kB / 379.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.09658, allocations: 0 / 379.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.09678, allocations: 286.5 kB / 380 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0968, allocations: 4 kB / 380 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.09682, allocations: 4 kB / 380 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.09683, allocations: 3.938 kB / 380 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.09684, allocations: 3.984 kB / 380 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.09684, allocations: 0 / 380 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.09685, allocations: 0 / 380 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1632/0.2601, allocations: 146.3 kB / 380.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.2602, allocations: 81.58 kB / 380.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2602, allocations: 1.906 kB / 380.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.925e-05/0.2602, allocations: 2.25 kB / 380.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.2603, allocations: 5.562 kB / 380.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.2603, allocations: 2.25 kB / 380.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.855e-05/0.2604, allocations: 89.69 kB / 380.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2604, allocations: 0 / 380.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.2607, allocations: 22.69 kB / 380.3 MB, free: 12.65 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.0003936/0.2611, allocations: 181.1 kB / 380.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.2613, allocations: 26.72 kB / 380.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2613, allocations: 3.531 kB / 380.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.2613, allocations: 14.27 kB / 380.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.2615, allocations: 2.609 kB / 380.5 MB, free: 12.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.2618, allocations: 143.4 kB / 380.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2619, allocations: 0.6819 MB / 381.4 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.2619, allocations: 8.812 kB / 381.4 MB, free: 11.69 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2619, allocations: 0 / 381.4 MB, free: 11.69 MB / 318.1 MB Notification: Performance of Templates: time 0.002974/0.2649, allocations: 1.163 MB / 382.5 MB, free: 11.61 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