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.001668/0.001668, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002097/0.002097, allocations: 212 kB / 24.47 MB, free: 3.547 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.498/1.498, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001846/0.001846, allocations: 51.92 kB / 347.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3498, allocations: 49.15 MB / 396.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002843/0.3527, allocations: 1.463 MB / 398.3 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3538, allocations: 0.5517 MB / 398.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.3539, allocations: 1.156 kB / 398.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.354, allocations: 13.31 kB / 398.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.156e-05/0.3541, allocations: 24.06 kB / 398.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006198/0.3547, allocations: 156 kB / 399 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.3549, allocations: 117.8 kB / 399.2 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.3549, allocations: 5.391 kB / 399.2 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.355, allocations: 53.77 kB / 399.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.3551, allocations: 56.19 kB / 399.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.3551, allocations: 9.844 kB / 399.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.3555, allocations: 157.4 kB / 399.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.3556, allocations: 33.48 kB / 399.5 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.3557, allocations: 48.58 kB / 399.5 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.356, allocations: 208 kB / 399.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.356, allocations: 1.344 kB / 399.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.356, allocations: 0 / 399.7 MB, free: 7.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.356, allocations: 0 / 399.7 MB, free: 7.676 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.0006333/0.3567, allocations: 392.6 kB / 400.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3567, allocations: 13.67 kB / 400.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.357, allocations: 38.52 kB / 400.2 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3572, allocations: 142.2 kB / 400.3 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3572, allocations: 7.859 kB / 400.3 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.3572, allocations: 5.594 kB / 400.3 MB, free: 7.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3574, allocations: 116.4 kB / 400.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3575, allocations: 192 / 400.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.3575, allocations: 4.453 kB / 400.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3575, allocations: 1.406 kB / 400.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3576, allocations: 55.44 kB / 400.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.3583, allocations: 304.5 kB / 400.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.3586, allocations: 122.8 kB / 400.9 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3587, allocations: 47.19 kB / 400.9 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.3587, allocations: 5.156 kB / 400.9 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003442/0.3591, allocations: 140.9 kB / 401.1 MB, free: 6.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.3591, allocations: 4 kB / 401.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005785/0.3596, allocations: 231.4 kB / 401.3 MB, free: 6.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3597, allocations: 100 kB / 401.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3599, allocations: 182.9 kB / 401.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.3599, allocations: 46.53 kB / 401.6 MB, free: 6.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.36, allocations: 101.4 kB / 401.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.36, allocations: 42.64 kB / 401.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.431e-05/0.3601, allocations: 59.64 kB / 401.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.3602, allocations: 329.5 kB / 402.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.3604, allocations: 102 kB / 402.3 MB, free: 5.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.3606, allocations: 134.1 kB / 402.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.361, allocations: 217.1 kB / 402.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.361, allocations: 5.156 kB / 402.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000504/0.3615, allocations: 294.9 kB / 402.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3615, allocations: 5.594 kB / 402.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3615, allocations: 1.281 kB / 402.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3615, allocations: 5.734 kB / 402.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.3617, allocations: 30.72 kB / 402.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3617, allocations: 2.875 kB / 402.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.3618, allocations: 28.23 kB / 403 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3618, allocations: 6.625 kB / 403 MB, free: 5.465 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.000157/0.3619, allocations: 149.8 kB / 403.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.362, allocations: 18.55 kB / 403.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.362, allocations: 20.48 kB / 403.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.362, allocations: 1.531 kB / 403.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.362, allocations: 0 / 403.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.362, allocations: 1.25 kB / 403.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3622, allocations: 146.9 kB / 403.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3622, allocations: 0 / 403.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.3622, allocations: 7.359 kB / 403.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3622, allocations: 1.062 kB / 403.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3623, allocations: 6.594 kB / 403.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3623, allocations: 1.125 kB / 403.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3623, allocations: 1.219 kB / 403.3 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.3627, allocations: 228 kB / 403.5 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.3627, allocations: 25.08 kB / 403.6 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.3627, allocations: 7.891 kB / 403.6 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.855e-05/0.3628, allocations: 10.42 kB / 403.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.3628, allocations: 9.812 kB / 403.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.3629, allocations: 4.172 kB / 403.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.363, allocations: 130 kB / 403.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 0 / 403.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.3633, allocations: 48.45 kB / 403.8 MB, free: 4.895 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.0005589/0.3639, allocations: 236.9 kB / 404 MB, free: 4.715 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000462/0.3643, allocations: 180.3 kB / 404.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3643, allocations: 0 / 404.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3645, allocations: 53.62 kB / 404.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.3646, allocations: 17.97 kB / 404.3 MB, free: 4.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.3651, allocations: 248.9 kB / 404.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.876e-05/0.3652, allocations: 95 kB / 404.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.462e-05/0.3653, allocations: 21.36 kB / 404.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.3653, allocations: 18.81 kB / 404.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3653, allocations: 0 / 404.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of Templates: time 0.006836/0.3722, allocations: 2.25 MB / 406.9 MB, free: 3.996 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins/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: 4.9055022690445185]