Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.00191/0.00191, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00227/0.00227, allocations: 209.4 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.619/1.619, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00288/0.00288, allocations: 47.92 kB / 378.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3645, allocations: 53.36 MB / 431.6 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002825/0.3673, allocations: 0.9084 MB / 432.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.3681, allocations: 251.1 kB / 432.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.3682, allocations: 4 kB / 432.8 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.915e-05/0.3682, allocations: 7.922 kB / 432.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.3684, allocations: 3.938 kB / 432.8 MB, free: 5.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.3688, allocations: 99.72 kB / 432.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.369, allocations: 47.84 kB / 432.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3691, allocations: 15.98 kB / 433 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.3691, allocations: 19.92 kB / 433 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.3692, allocations: 23.86 kB / 433 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.3692, allocations: 4 kB / 433 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3693, allocations: 43.84 kB / 433.1 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.3694, allocations: 27.91 kB / 433.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.3695, allocations: 31.8 kB / 433.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.3697, allocations: 91.28 kB / 433.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3697, allocations: 0 / 433.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3697, allocations: 4 kB / 433.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3697, allocations: 0 / 433.2 MB, free: 5.402 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005823/0.3703, allocations: 307.5 kB / 433.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.3703, allocations: 12.02 kB / 433.5 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.3704, allocations: 8.891 kB / 433.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.3707, allocations: 152.6 kB / 433.7 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3707, allocations: 4.375 kB / 433.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.3707, allocations: 4.375 kB / 433.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.371, allocations: 149.6 kB / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.371, allocations: 4.125 kB / 433.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3711, allocations: 7.922 kB / 433.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3711, allocations: 0 / 433.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.3711, allocations: 20 kB / 433.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3715, allocations: 244.8 kB / 434.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3716, allocations: 46.45 kB / 434.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.3716, allocations: 20.89 kB / 434.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004487/0.3721, allocations: 59.94 kB / 434.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.3721, allocations: 30.56 kB / 434.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3721, allocations: 0 / 434.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002472/0.3724, allocations: 85.62 kB / 434.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.3724, allocations: 63.34 kB / 434.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3726, allocations: 152.6 kB / 434.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3726, allocations: 25.7 kB / 434.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.3727, allocations: 92.14 kB / 434.7 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3727, allocations: 7.891 kB / 434.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.3728, allocations: 29.7 kB / 434.7 MB, free: 3.727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.373, allocations: 322.8 kB / 435 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.373, allocations: 19.98 kB / 435 MB, free: 3.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.572e-05/0.3731, allocations: 70 kB / 435.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.3732, allocations: 81.88 kB / 435.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3732, allocations: 0 / 435.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001694/0.3734, allocations: 109.5 kB / 435.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3734, allocations: 4 kB / 435.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3734, allocations: 0 / 435.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3734, allocations: 4 kB / 435.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.3735, allocations: 24.14 kB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3735, allocations: 4 kB / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.3736, allocations: 7.953 kB / 435.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3736, allocations: 8.234 kB / 435.3 MB, free: 3.027 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001217/0.3737, allocations: 135.3 kB / 435.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3738, allocations: 77.55 kB / 435.5 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.374, allocations: 86.33 kB / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.374, allocations: 0 / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.374, allocations: 12 kB / 435.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.374, allocations: 0 / 435.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.3741, allocations: 152.5 kB / 435.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.3741, allocations: 4 kB / 435.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.3742, allocations: 4 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3742, allocations: 0 / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3742, allocations: 3.984 kB / 435.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3742, allocations: 3.938 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3742, allocations: 0 / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.3743, allocations: 101 kB / 435.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.3744, allocations: 23.94 kB / 435.9 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.3744, allocations: 4 kB / 435.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.3744, allocations: 0 / 435.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-06/0.3744, allocations: 4.172 kB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3745, allocations: 0 / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.569e-05/0.3746, allocations: 124.9 kB / 436.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3746, allocations: 0 / 436.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.3748, allocations: 12 kB / 436.1 MB, free: 2.211 MB / 334.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0001954/0.375, allocations: 115.4 kB / 436.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3751, allocations: 55.83 kB / 436.2 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3751, allocations: 3.938 kB / 436.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.3751, allocations: 0 / 436.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3755, allocations: 81.62 kB / 436.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3759, allocations: 177.8 kB / 436.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3763, allocations: 0.7041 MB / 437.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.059e-05/0.3763, allocations: 4.672 kB / 437.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.3763, allocations: 11.44 kB / 437.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3763, allocations: 0 / 437.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of Templates: time 0.004842/0.3812, allocations: 1.402 MB / 438.6 MB, free: 15.6 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 5.197567731142044]