Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002347/0.002347, allocations: 213.7 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 64.09 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2607, allocations: 53.42 MB / 431.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002409/0.2631, allocations: 0.8781 MB / 432.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006384/0.2638, allocations: 243.1 kB / 432.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.226e-05/0.2639, allocations: 3.938 kB / 432.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.793e-05/0.2639, allocations: 3.938 kB / 432.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.2641, allocations: 15.92 kB / 432.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.2645, allocations: 95.72 kB / 432.9 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.2646, allocations: 43.91 kB / 432.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.2647, allocations: 15.98 kB / 432.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.2648, allocations: 23.86 kB / 433 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.2648, allocations: 11.92 kB / 433 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.2648, allocations: 4 kB / 433 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.2649, allocations: 39.97 kB / 433 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.265, allocations: 31.84 kB / 433 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.265, allocations: 27.8 kB / 433.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.2652, allocations: 94.09 kB / 433.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2652, allocations: 0 / 433.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2652, allocations: 4 kB / 433.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2652, allocations: 0 / 433.2 MB, free: 5.141 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.0004959/0.2657, allocations: 313.9 kB / 433.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2658, allocations: 15.98 kB / 433.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.2658, allocations: 8.891 kB / 433.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.266, allocations: 149 kB / 433.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2661, allocations: 4.375 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.2661, allocations: 4.375 kB / 433.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.2664, allocations: 149.6 kB / 433.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2664, allocations: 4.125 kB / 433.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2664, allocations: 3.938 kB / 433.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2664, allocations: 3.938 kB / 433.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.2665, allocations: 23.98 kB / 433.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.2667, allocations: 217.4 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.331e-05/0.2668, allocations: 38.52 kB / 434.1 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.2669, allocations: 28.83 kB / 434.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/0.2673, allocations: 55.94 kB / 434.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.2673, allocations: 34.56 kB / 434.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2673, allocations: 4 kB / 434.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002074/0.2675, allocations: 81.62 kB / 434.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.2676, allocations: 59.34 kB / 434.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2677, allocations: 146.1 kB / 434.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2677, allocations: 25.7 kB / 434.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.2678, allocations: 84.14 kB / 434.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.2678, allocations: 7.953 kB / 434.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.2679, allocations: 33.66 kB / 434.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.268, allocations: 318.8 kB / 434.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.227e-05/0.268, allocations: 19.98 kB / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.2681, allocations: 69.92 kB / 435 MB, free: 3.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.98e-05/0.2682, allocations: 81.88 kB / 435.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2682, allocations: 0 / 435.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.2684, allocations: 113.4 kB / 435.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2684, allocations: 4 kB / 435.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2684, allocations: 7.938 kB / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.2684, allocations: 0 / 435.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.2685, allocations: 23.92 kB / 435.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2685, allocations: 0 / 435.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.2685, allocations: 4 kB / 435.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2686, allocations: 8 kB / 435.3 MB, free: 2.805 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.0001203/0.2687, allocations: 141.1 kB / 435.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2688, allocations: 69.58 kB / 435.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.2689, allocations: 86.45 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2689, allocations: 4 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2689, allocations: 0 / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2689, allocations: 0 / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.81e-05/0.269, allocations: 121.2 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.269, allocations: 7.938 kB / 435.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.2691, allocations: 4 kB / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.2691, allocations: 0 / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.2691, allocations: 0 / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2691, allocations: 4 kB / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2691, allocations: 0 / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.2692, allocations: 101 kB / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.2693, allocations: 31.81 kB / 435.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.2693, allocations: 4 kB / 435.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.2693, allocations: 4 kB / 435.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-06/0.2693, allocations: 0 / 435.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2693, allocations: 8 kB / 435.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.2694, allocations: 110 kB / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2694, allocations: 0 / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000222/0.2696, allocations: 16 kB / 436 MB, free: 2.039 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.0001516/0.2698, allocations: 111.2 kB / 436.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2699, allocations: 52.09 kB / 436.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2699, allocations: 0 / 436.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2699, allocations: 192 / 436.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.2703, allocations: 93.05 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.2706, allocations: 177.7 kB / 436.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.2707, allocations: 91.34 kB / 436.5 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.725e-05/0.2708, allocations: 7.984 kB / 436.5 MB, free: 1.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.2708, allocations: 11.44 kB / 436.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2708, allocations: 0 / 436.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of Templates: time 0.004597/0.2754, allocations: 1.46 MB / 438 MB, free: 8 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.557634487748146]