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.001949/0.001949, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002223/0.002223, allocations: 201 kB / 23.73 MB, free: 4.379 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.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001626/0.001626, allocations: 43.94 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2495, allocations: 53.37 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002571/0.2521, allocations: 0.887 MB / 432.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006638/0.2527, allocations: 247 kB / 432.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.2528, allocations: 0 / 432.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.104e-05/0.2529, allocations: 11.94 kB / 432.7 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.253, allocations: 11.86 kB / 432.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.2535, allocations: 91.78 kB / 432.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.2536, allocations: 39.91 kB / 432.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2537, allocations: 19.98 kB / 432.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.2538, allocations: 23.8 kB / 432.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.672e-05/0.2538, allocations: 23.92 kB / 432.9 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.2539, allocations: 4 kB / 432.9 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.254, allocations: 39.97 kB / 433 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.603e-05/0.254, allocations: 27.91 kB / 433 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.2541, allocations: 19.81 kB / 433 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.2543, allocations: 97.86 kB / 433.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2543, allocations: 0 / 433.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2543, allocations: 0 / 433.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.2543, allocations: 0 / 433.1 MB, free: 5.176 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.0005464/0.2548, allocations: 313.9 kB / 433.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2549, allocations: 8.031 kB / 433.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.2549, allocations: 8.891 kB / 433.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.2552, allocations: 152.5 kB / 433.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.2552, allocations: 4.375 kB / 433.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.2552, allocations: 4.375 kB / 433.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.2555, allocations: 149.5 kB / 433.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2556, allocations: 192 / 433.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2556, allocations: 3.938 kB / 433.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2556, allocations: 4 kB / 433.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.137e-05/0.2556, allocations: 27.98 kB / 433.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.256, allocations: 213.3 kB / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.977e-05/0.2561, allocations: 42.56 kB / 434 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.96e-05/0.2561, allocations: 20.8 kB / 434.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/0.2566, allocations: 59.98 kB / 434.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.2567, allocations: 34.56 kB / 434.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.2567, allocations: 0 / 434.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002868/0.2569, allocations: 89.5 kB / 434.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.257, allocations: 59.41 kB / 434.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2572, allocations: 142.1 kB / 434.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2572, allocations: 25.7 kB / 434.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.2573, allocations: 88.14 kB / 434.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2573, allocations: 7.953 kB / 434.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.2573, allocations: 29.66 kB / 434.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2575, allocations: 318.8 kB / 434.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.582e-05/0.2575, allocations: 19.98 kB / 434.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.2576, allocations: 69.92 kB / 435 MB, free: 3.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2577, allocations: 77.94 kB / 435.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2577, allocations: 0 / 435.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.2579, allocations: 117.5 kB / 435.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2579, allocations: 7.938 kB / 435.2 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2579, allocations: 4 kB / 435.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2579, allocations: 4 kB / 435.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.258, allocations: 15.98 kB / 435.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.258, allocations: 4 kB / 435.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.2581, allocations: 7.938 kB / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.2581, allocations: 4 kB / 435.2 MB, free: 2.848 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.0001445/0.2582, allocations: 141.9 kB / 435.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2583, allocations: 69.64 kB / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.2585, allocations: 90.39 kB / 435.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2585, allocations: 3.938 kB / 435.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2585, allocations: 0 / 435.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2585, allocations: 0 / 435.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2586, allocations: 125.2 kB / 435.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.2586, allocations: 3.938 kB / 435.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.2587, allocations: 4 kB / 435.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2587, allocations: 0 / 435.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.2587, allocations: 4 kB / 435.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2587, allocations: 0 / 435.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2587, allocations: 4 kB / 435.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.2588, allocations: 101.3 kB / 435.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.295e-05/0.2589, allocations: 24.06 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.2589, allocations: 4 kB / 435.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.2589, allocations: 3.938 kB / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-06/0.2589, allocations: 0 / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.2589, allocations: 4 kB / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.02e-05/0.259, allocations: 113.9 kB / 435.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.259, allocations: 0 / 435.9 MB, free: 2.094 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.2593, allocations: 27.94 kB / 435.9 MB, free: 2.066 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.0001569/0.2594, allocations: 111.2 kB / 436 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.2596, allocations: 51.91 kB / 436.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2596, allocations: 0 / 436.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2596, allocations: 0 / 436.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.2599, allocations: 73.69 kB / 436.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.2603, allocations: 177.7 kB / 436.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.326e-05/0.2604, allocations: 95.27 kB / 436.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.707e-05/0.2604, allocations: 7.984 kB / 436.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.2604, allocations: 15.38 kB / 436.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2604, allocations: 0 / 436.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of Templates: time 0.004618/0.2651, allocations: 1.482 MB / 437.9 MB, free: 20 kB / 334.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: 4.730286463629454]