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.001934/0.001934, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002583/0.002583, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.506/1.506, allocations: 230.5 MB / 258.1 MB, free: 7.977 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.002092/0.002092, allocations: 63.89 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2942, allocations: 53.4 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002675/0.2969, allocations: 0.9057 MB / 433.3 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.2976, allocations: 263 kB / 433.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.2977, allocations: 0 / 433.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.246e-05/0.2978, allocations: 3.938 kB / 433.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.298, allocations: 11.92 kB / 433.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.2985, allocations: 95.72 kB / 433.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.2987, allocations: 43.84 kB / 433.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2988, allocations: 16 kB / 433.8 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.2988, allocations: 23.91 kB / 433.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.2989, allocations: 19.86 kB / 433.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.2989, allocations: 4 kB / 433.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.2991, allocations: 43.91 kB / 433.9 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/0.2991, allocations: 23.91 kB / 433.9 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.2992, allocations: 27.81 kB / 433.9 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.2994, allocations: 100.8 kB / 434 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2995, allocations: 0 / 434 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2995, allocations: 0 / 434 MB, free: 5.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2995, allocations: 0 / 434 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.0006196/0.3001, allocations: 313.9 kB / 434.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3001, allocations: 8.031 kB / 434.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.3002, allocations: 8.891 kB / 434.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.3005, allocations: 153 kB / 434.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3005, allocations: 4.375 kB / 434.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.3005, allocations: 4.375 kB / 434.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.3009, allocations: 149.6 kB / 434.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3009, allocations: 8.109 kB / 434.6 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.3009, allocations: 7.938 kB / 434.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3009, allocations: 0 / 434.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.637e-05/0.301, allocations: 23.98 kB / 434.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.3014, allocations: 236.8 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3015, allocations: 50.44 kB / 435 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.3016, allocations: 16.86 kB / 435 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/0.302, allocations: 67.91 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3021, allocations: 34.56 kB / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.3021, allocations: 0 / 435.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002593/0.3023, allocations: 81.64 kB / 435.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.3024, allocations: 55.34 kB / 435.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3026, allocations: 157.3 kB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3026, allocations: 25.7 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.3027, allocations: 100.1 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.3027, allocations: 7.953 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.3028, allocations: 25.72 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.303, allocations: 318.8 kB / 435.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.303, allocations: 23.98 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.544e-05/0.3031, allocations: 66 kB / 435.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.3032, allocations: 77.88 kB / 436 MB, free: 2.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3032, allocations: 4 kB / 436 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.3034, allocations: 109.5 kB / 436.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3034, allocations: 4 kB / 436.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3034, allocations: 4 kB / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3034, allocations: 0 / 436.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.3035, allocations: 19.94 kB / 436.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3035, allocations: 3.984 kB / 436.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.3036, allocations: 12.17 kB / 436.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3036, allocations: 4 kB / 436.2 MB, free: 2.797 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.0001413/0.3037, allocations: 136.8 kB / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3038, allocations: 69.58 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.304, allocations: 90.62 kB / 436.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.304, allocations: 0 / 436.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.304, allocations: 0 / 436.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.304, allocations: 0 / 436.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.3042, allocations: 168.5 kB / 436.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3042, allocations: 0 / 436.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.3042, allocations: 4 kB / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3042, allocations: 0 / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3042, allocations: 0 / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3042, allocations: 8.125 kB / 436.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3042, allocations: 3.984 kB / 436.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.3044, allocations: 104.9 kB / 436.7 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.3044, allocations: 19.94 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.3044, allocations: 8 kB / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.3045, allocations: 0 / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-06/0.3045, allocations: 0 / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3045, allocations: 4 kB / 436.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.542e-05/0.3046, allocations: 119.2 kB / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3046, allocations: 0 / 436.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.3048, allocations: 16 kB / 436.9 MB, free: 1.977 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.0001816/0.305, allocations: 107.4 kB / 437 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.3051, allocations: 63.84 kB / 437.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3051, allocations: 0 / 437.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.3051, allocations: 0 / 437.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.3055, allocations: 81.67 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.3059, allocations: 203 kB / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.3063, allocations: 0.7014 MB / 438 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.3063, allocations: 15.44 kB / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3063, allocations: 0 / 438 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of Templates: time 0.003533/0.3099, allocations: 1.297 MB / 439.3 MB, free: 15.44 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/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: 7.466878185048699]