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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009929/0.0009929, allocations: 84.98 kB / 22.99 MB, free: 1.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 171.5 kB / 26.4 MB, free: 7.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9728/0.9728, allocations: 158.6 MB / 188.3 MB, free: 2.82 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,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=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.528e-05, allocations: 6.25 kB / 252.3 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001919/0.001935, allocations: 1.372 MB / 253.6 MB, free: 5.875 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000563/0.002498, allocations: 355.6 kB / 254 MB, free: 5.523 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.002524, allocations: 0 / 254 MB, free: 5.523 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.002544, allocations: 3.938 kB / 254 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.002582, allocations: 0 / 254 MB, free: 5.52 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.002951, allocations: 99.56 kB / 254.1 MB, free: 5.422 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 4.943e-05/0.003, allocations: 15.94 kB / 254.1 MB, free: 5.406 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.646e-05/0.003027, allocations: 8 kB / 254.1 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3e-05/0.003057, allocations: 15.98 kB / 254.1 MB, free: 5.383 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.607e-05/0.003073, allocations: 3.938 kB / 254.1 MB, free: 5.379 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.003084, allocations: 4 kB / 254.1 MB, free: 5.375 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.003283, allocations: 119.7 kB / 254.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.003294, allocations: 4 kB / 254.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.003309, allocations: 7.984 kB / 254.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.003454, allocations: 99.62 kB / 254.3 MB, free: 5.148 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003456, allocations: 0 / 254.3 MB, free: 5.148 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.003456, allocations: 0 / 254.3 MB, free: 5.148 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.003459, allocations: 0 / 254.3 MB, free: 5.148 MB / 234.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.0002865/0.003746, allocations: 372.5 kB / 254.7 MB, free: 4.746 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.003777, allocations: 19.98 kB / 254.7 MB, free: 4.727 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.003803, allocations: 4.938 kB / 254.7 MB, free: 4.723 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.297e-05/0.003876, allocations: 116.5 kB / 254.9 MB, free: 4.582 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.003887, allocations: 384 / 254.9 MB, free: 4.582 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.003893, allocations: 4.375 kB / 254.9 MB, free: 4.578 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.774e-05/0.003941, allocations: 26.27 kB / 254.9 MB, free: 4.547 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003948, allocations: 4.188 kB / 254.9 MB, free: 4.543 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.003957, allocations: 8.359 kB / 254.9 MB, free: 4.535 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.003962, allocations: 384 / 254.9 MB, free: 4.535 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.041e-05/0.003972, allocations: 7.875 kB / 254.9 MB, free: 4.527 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.004172, allocations: 228.4 kB / 255.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.201e-05/0.004214, allocations: 31.11 kB / 255.2 MB, free: 4.234 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.004227, allocations: 15.69 kB / 255.2 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-06/0.004231, allocations: 0 / 255.2 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.509e-05/0.004296, allocations: 60.98 kB / 255.2 MB, free: 4.141 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.004297, allocations: 0 / 255.2 MB, free: 4.141 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001155/0.004413, allocations: 49.62 kB / 255.3 MB, free: 4.086 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.004442, allocations: 55.41 kB / 255.3 MB, free: 4.02 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.393e-05/0.004515, allocations: 165.9 kB / 255.5 MB, free: 3.84 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.004526, allocations: 29.7 kB / 255.5 MB, free: 3.805 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.004565, allocations: 126.9 kB / 255.6 MB, free: 3.676 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.004577, allocations: 7.953 kB / 255.7 MB, free: 3.668 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.004612, allocations: 31.34 kB / 255.7 MB, free: 3.629 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.004743, allocations: 492.1 kB / 256.2 MB, free: 3.137 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.00476, allocations: 16.7 kB / 256.2 MB, free: 3.117 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.27e-05/0.004783, allocations: 31.28 kB / 256.2 MB, free: 3.078 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.168e-05/0.004815, allocations: 27.56 kB / 256.2 MB, free: 3.043 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.004816, allocations: 0 / 256.2 MB, free: 3.043 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.252e-05/0.004889, allocations: 65.56 kB / 256.3 MB, free: 2.973 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.0049, allocations: 8 kB / 256.3 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.004904, allocations: 0 / 256.3 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.004913, allocations: 3.938 kB / 256.3 MB, free: 2.961 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.853e-05/0.004952, allocations: 7.984 kB / 256.3 MB, free: 2.953 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.004954, allocations: 7.938 kB / 256.3 MB, free: 2.945 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.004969, allocations: 0 / 256.3 MB, free: 2.945 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.004973, allocations: 0 / 256.3 MB, free: 2.945 MB / 234.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.seed,globalSeed.id_impure,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.532e-05/0.005038, allocations: 156.6 kB / 256.5 MB, free: 2.781 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.005047, allocations: 4 kB / 256.5 MB, free: 2.777 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.00507, allocations: 8.031 kB / 256.5 MB, free: 2.766 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.005073, allocations: 11.88 kB / 256.5 MB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.005075, allocations: 384 / 256.5 MB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005078, allocations: 0 / 256.5 MB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.005239, allocations: 266.1 kB / 256.8 MB, free: 2.457 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.005242, allocations: 4 kB / 256.8 MB, free: 2.453 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-06/0.005252, allocations: 4 kB / 256.8 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005254, allocations: 0 / 256.8 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-06/0.005257, allocations: 0 / 256.8 MB, free: 2.449 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.00526, allocations: 7.922 kB / 256.8 MB, free: 2.441 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005261, allocations: 0 / 256.8 MB, free: 2.441 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.257e-05/0.005354, allocations: 199.8 kB / 257 MB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.00536, allocations: 4 kB / 257 MB, free: 2.223 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.005369, allocations: 4 kB / 257 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/0.005408, allocations: 3.938 kB / 257 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.005422, allocations: 0 / 257 MB, free: 2.215 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.005431, allocations: 3.984 kB / 257 MB, free: 2.211 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.81e-05/0.005469, allocations: 123.2 kB / 257.1 MB, free: 2.09 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005469, allocations: 4 kB / 257.1 MB, free: 2.086 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.005728, allocations: 23.94 kB / 257.1 MB, free: 2.062 MB / 234.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.0003285/0.006056, allocations: 205.5 kB / 257.3 MB, free: 1.883 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.374e-05/0.00613, allocations: 27.61 kB / 257.4 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.72e-07/0.006131, allocations: 0 / 257.4 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-05/0.006151, allocations: 15.67 kB / 257.4 MB, free: 1.832 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.006338, allocations: 16 kB / 257.4 MB, free: 1.816 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.006529, allocations: 117.4 kB / 257.5 MB, free: 1.676 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.438e-05/0.006564, allocations: 51.36 kB / 257.6 MB, free: 1.605 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.546e-05/0.006589, allocations: 7.984 kB / 257.6 MB, free: 1.598 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.006628, allocations: 70.2 kB / 257.6 MB, free: 1.527 MB / 234.7 MB Notification: Performance of SimCode: time 6.71e-07/0.006628, allocations: 0 / 257.6 MB, free: 1.527 MB / 234.7 MB Notification: Performance of Templates: time 0.002618/0.009246, allocations: 1.133 MB / 258.8 MB, free: 408 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.815340396016836]