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.001488/0.001488, allocations: 102.6 kB / 21.93 MB, free: 5.203 MB / 14.72 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.001708/0.001708, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 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 1.526/1.526, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.92 kB / 348.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002913/0.3558, allocations: 1.343 MB / 398.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009923/0.3568, allocations: 343.9 kB / 399.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.3568, allocations: 1.156 kB / 399.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.3569, allocations: 0 / 399.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.3569, allocations: 5.656 kB / 399.3 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.3575, allocations: 97.34 kB / 399.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.851e-05/0.3576, allocations: 20.08 kB / 399.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.3576, allocations: 6.672 kB / 399.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.064e-05/0.3576, allocations: 4.344 kB / 399.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.666e-05/0.3577, allocations: 11.97 kB / 399.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3577, allocations: 1.219 kB / 399.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.3579, allocations: 116.7 kB / 399.5 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.358, allocations: 2.281 kB / 399.5 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.358, allocations: 14.12 kB / 399.5 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3582, allocations: 93 kB / 399.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3582, allocations: 0 / 399.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3582, allocations: 0 / 399.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3582, allocations: 0 / 399.6 MB, free: 8.109 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.0003631/0.3586, allocations: 273.5 kB / 399.9 MB, free: 7.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3586, allocations: 12.7 kB / 399.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.3587, allocations: 7.812 kB / 399.9 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.335e-05/0.3587, allocations: 109.3 kB / 400 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3588, allocations: 6.438 kB / 400 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.3588, allocations: 1.438 kB / 400 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3589, allocations: 32.73 kB / 400.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3589, allocations: 4.125 kB / 400.1 MB, free: 7.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3589, allocations: 5.734 kB / 400.1 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3589, allocations: 0 / 400.1 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.3589, allocations: 12.2 kB / 400.1 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.3592, allocations: 189.5 kB / 400.3 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.911e-05/0.3593, allocations: 21.38 kB / 400.3 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.41e-05/0.3593, allocations: 15.12 kB / 400.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.3593, allocations: 0 / 400.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.3595, allocations: 60.97 kB / 400.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3595, allocations: 0 / 400.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001938/0.3597, allocations: 51.44 kB / 400.4 MB, free: 7.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3597, allocations: 53.28 kB / 400.5 MB, free: 7.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.3598, allocations: 108.5 kB / 400.6 MB, free: 7.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3598, allocations: 31.2 kB / 400.6 MB, free: 7.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.3599, allocations: 81.17 kB / 400.7 MB, free: 7.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.3599, allocations: 6.953 kB / 400.7 MB, free: 7.023 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.3599, allocations: 20.5 kB / 400.7 MB, free: 7.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.36, allocations: 315.9 kB / 401 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.36, allocations: 6.625 kB / 401 MB, free: 6.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.36, allocations: 24.41 kB / 401.1 MB, free: 6.664 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.3601, allocations: 24.44 kB / 401.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3601, allocations: 1.5 kB / 401.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001121/0.3602, allocations: 71.16 kB / 401.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3602, allocations: 4.375 kB / 401.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3602, allocations: 5.078 kB / 401.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3602, allocations: 1.094 kB / 401.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.3603, allocations: 7.203 kB / 401.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3603, allocations: 2.234 kB / 401.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.3603, allocations: 5.406 kB / 401.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3603, allocations: 1.438 kB / 401.2 MB, free: 6.582 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.153e-05/0.3604, allocations: 118 kB / 401.3 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.3604, allocations: 13.11 kB / 401.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.3604, allocations: 6.016 kB / 401.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3604, allocations: 0 / 401.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3604, allocations: 2.312 kB / 401.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3604, allocations: 0 / 401.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.3606, allocations: 244.3 kB / 401.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3606, allocations: 4 kB / 401.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.3606, allocations: 2.781 kB / 401.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3607, allocations: 0.9375 kB / 401.6 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.3607, allocations: 5.406 kB / 401.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3607, allocations: 0 / 401.6 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3607, allocations: 4.844 kB / 401.6 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.3608, allocations: 148.6 kB / 401.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.3608, allocations: 2 kB / 401.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3608, allocations: 1.406 kB / 401.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.3609, allocations: 4.938 kB / 401.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.3609, allocations: 2.094 kB / 401.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3609, allocations: 2.656 kB / 401.7 MB, free: 6.031 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.602e-05/0.3609, allocations: 81.25 kB / 401.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3609, allocations: 0 / 401.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.3613, allocations: 28.77 kB / 401.8 MB, free: 5.949 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.0005498/0.3618, allocations: 194.1 kB / 402 MB, free: 5.793 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.3619, allocations: 24.55 kB / 402 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3619, allocations: 0 / 402 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.362, allocations: 17.94 kB / 402.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.3622, allocations: 6.094 kB / 402.1 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.3625, allocations: 138.4 kB / 402.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.3626, allocations: 61.53 kB / 402.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.3626, allocations: 14.38 kB / 402.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3626, allocations: 0 / 402.3 MB, free: 5.543 MB / 318.1 MB Notification: Performance of Templates: time 0.003697/0.3663, allocations: 1.158 MB / 403.4 MB, free: 5.418 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.792425179388374]