Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.001498/0.001498, allocations: 112.4 kB / 21.93 MB, free: 5.219 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.001568/0.001568, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.583/1.583, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [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.001921/0.001921, allocations: 70.5 kB / 348.4 MB, free: 9.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.344, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00294/0.3469, allocations: 1.464 MB / 399.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3482, allocations: 0.5475 MB / 399.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.3482, allocations: 3.938 kB / 399.6 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.3483, allocations: 10.77 kB / 399.6 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.3484, allocations: 24.5 kB / 399.6 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.349, allocations: 158.7 kB / 399.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3492, allocations: 118.3 kB / 399.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.485e-05/0.3493, allocations: 4.641 kB / 399.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.3493, allocations: 47.03 kB / 400 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.147e-05/0.3494, allocations: 62.97 kB / 400 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.3494, allocations: 11.31 kB / 400 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003551/0.3498, allocations: 153.3 kB / 400.2 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.3499, allocations: 36.55 kB / 400.2 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.3499, allocations: 48.8 kB / 400.3 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.3503, allocations: 207.3 kB / 400.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3503, allocations: 0 / 400.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3503, allocations: 0.75 kB / 400.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.3503, allocations: 1.25 kB / 400.5 MB, free: 7.68 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007038/0.351, allocations: 388.2 kB / 400.9 MB, free: 7.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3511, allocations: 13.42 kB / 400.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.3514, allocations: 44.03 kB / 400.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.3516, allocations: 135.6 kB / 401 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.3516, allocations: 12.66 kB / 401.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3516, allocations: 6.156 kB / 401.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.3519, allocations: 111.8 kB / 401.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3519, allocations: 192 / 401.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3519, allocations: 5.469 kB / 401.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3519, allocations: 1.156 kB / 401.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3521, allocations: 59.25 kB / 401.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.3527, allocations: 303.9 kB / 401.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.353, allocations: 122.6 kB / 401.7 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3531, allocations: 55.58 kB / 401.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3532, allocations: 5.344 kB / 401.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003213/0.3535, allocations: 136.8 kB / 401.8 MB, free: 6.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.3535, allocations: 9.281 kB / 401.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005542/0.354, allocations: 225.2 kB / 402.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.3541, allocations: 105.3 kB / 402.2 MB, free: 6.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3543, allocations: 177.2 kB / 402.3 MB, free: 6.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.3543, allocations: 44.39 kB / 402.4 MB, free: 6.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.3544, allocations: 104.9 kB / 402.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.3544, allocations: 43.28 kB / 402.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.3545, allocations: 59.58 kB / 402.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.3546, allocations: 332.8 kB / 402.9 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3547, allocations: 98.7 kB / 403 MB, free: 5.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.355, allocations: 137.6 kB / 403.2 MB, free: 5.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.3553, allocations: 216.1 kB / 403.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3553, allocations: 3.938 kB / 403.4 MB, free: 5.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00048/0.3558, allocations: 292.2 kB / 403.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3558, allocations: 8.469 kB / 403.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3558, allocations: 1.375 kB / 403.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3559, allocations: 1.781 kB / 403.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.356, allocations: 29.16 kB / 403.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.356, allocations: 6.156 kB / 403.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.3561, allocations: 21.12 kB / 403.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3561, allocations: 8.688 kB / 403.7 MB, free: 5.469 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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 0.0001128/0.3562, allocations: 150 kB / 403.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3562, allocations: 21.58 kB / 403.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.3563, allocations: 11.59 kB / 403.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3563, allocations: 2.094 kB / 403.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3563, allocations: 0 / 403.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3563, allocations: 1.219 kB / 403.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.3564, allocations: 150 kB / 404.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3564, allocations: 1.062 kB / 404.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.3565, allocations: 9.656 kB / 404.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3565, allocations: 4 kB / 404.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3565, allocations: 2.781 kB / 404.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3565, allocations: 1.734 kB / 404.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3565, allocations: 0 / 404.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.3569, allocations: 224.6 kB / 404.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.3569, allocations: 25.39 kB / 404.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.3569, allocations: 9.016 kB / 404.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.487e-05/0.357, allocations: 6.344 kB / 404.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.357, allocations: 17.05 kB / 404.3 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.357, allocations: 8.422 kB / 404.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.945e-05/0.3571, allocations: 121.6 kB / 404.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3571, allocations: 0 / 404.5 MB, free: 4.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.3575, allocations: 52.91 kB / 404.5 MB, free: 4.898 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005463/0.358, allocations: 236.3 kB / 404.8 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.3584, allocations: 178.5 kB / 404.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3584, allocations: 0 / 404.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.3586, allocations: 57.39 kB / 405 MB, free: 4.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.3587, allocations: 19.38 kB / 405 MB, free: 4.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.3592, allocations: 276.4 kB / 405.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.3593, allocations: 93.16 kB / 405.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.3594, allocations: 19.05 kB / 405.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3594, allocations: 1.094 kB / 405.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of Templates: time 0.005812/0.3652, allocations: 2.49 MB / 407.9 MB, free: 3.855 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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: 8.2299206671305]