Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 47.91 kB / 371.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2717, allocations: 52.18 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.003637/0.2754, allocations: 0.9087 MB / 424.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009936/0.2763, allocations: 231.2 kB / 425 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.2764, allocations: 0 / 425 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.911e-05/0.2765, allocations: 15.86 kB / 425 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.2767, allocations: 11.92 kB / 425 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.2773, allocations: 95.72 kB / 425.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.2774, allocations: 47.8 kB / 425.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.2776, allocations: 19.97 kB / 425.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.295e-05/0.2776, allocations: 15.92 kB / 425.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.2777, allocations: 23.86 kB / 425.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.2777, allocations: 4 kB / 425.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.2779, allocations: 39.97 kB / 425.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.514e-05/0.278, allocations: 27.91 kB / 425.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.278, allocations: 19.86 kB / 425.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.2783, allocations: 98.23 kB / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.2783, allocations: 0 / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2783, allocations: 0 / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2783, allocations: 3.938 kB / 425.4 MB, free: 12.91 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.0007089/0.279, allocations: 310 kB / 425.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2791, allocations: 12.02 kB / 425.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.982e-05/0.2791, allocations: 12.84 kB / 425.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.2795, allocations: 146.3 kB / 425.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2795, allocations: 4.375 kB / 425.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.2796, allocations: 12.31 kB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.28, allocations: 145.5 kB / 426 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2801, allocations: 192 / 426 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.2801, allocations: 11.92 kB / 426 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2801, allocations: 0 / 426 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.2802, allocations: 19.94 kB / 426 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.2806, allocations: 209.5 kB / 426.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.2807, allocations: 42.56 kB / 426.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.2808, allocations: 24.83 kB / 426.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/0.2814, allocations: 55.94 kB / 426.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.2814, allocations: 42.5 kB / 426.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.2815, allocations: 0 / 426.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003388/0.2818, allocations: 85.62 kB / 426.5 MB, free: 11.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/0.2819, allocations: 55.36 kB / 426.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.2821, allocations: 144.7 kB / 426.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.2821, allocations: 29.7 kB / 426.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.2822, allocations: 88.14 kB / 426.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.2823, allocations: 11.88 kB / 426.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.913e-05/0.2823, allocations: 25.72 kB / 426.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.2826, allocations: 322.8 kB / 427.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.2826, allocations: 19.98 kB / 427.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.2828, allocations: 65.94 kB / 427.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.283, allocations: 77.94 kB / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.283, allocations: 0 / 427.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000329/0.2833, allocations: 121.4 kB / 427.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2833, allocations: 8 kB / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2833, allocations: 3.984 kB / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.2833, allocations: 4 kB / 427.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.2835, allocations: 12 kB / 427.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2835, allocations: 4 kB / 427.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.2836, allocations: 4.141 kB / 427.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.2836, allocations: 7.984 kB / 427.5 MB, free: 10.58 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.0001869/0.2838, allocations: 141.9 kB / 427.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.2839, allocations: 73.7 kB / 427.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.2842, allocations: 94.25 kB / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2842, allocations: 0 / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2842, allocations: 0 / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2843, allocations: 0 / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2844, allocations: 121.2 kB / 427.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.2844, allocations: 3.938 kB / 427.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.2845, allocations: 7.984 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2845, allocations: 0 / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.2845, allocations: 0 / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2845, allocations: 4 kB / 427.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2845, allocations: 4 kB / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.2848, allocations: 97.02 kB / 428 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.2849, allocations: 27.88 kB / 428 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.2849, allocations: 3.984 kB / 428 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.255e-05/0.2849, allocations: 0 / 428 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-06/0.2849, allocations: 0 / 428 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.285, allocations: 4 kB / 428 MB, free: 9.934 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.2851, allocations: 111.2 kB / 428.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2851, allocations: 4 kB / 428.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.2856, allocations: 15.98 kB / 428.2 MB, free: 9.805 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.0002364/0.2858, allocations: 111.2 kB / 428.3 MB, free: 9.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.286, allocations: 47.91 kB / 428.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.286, allocations: 0 / 428.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.286, allocations: 4 kB / 428.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.2866, allocations: 77.39 kB / 428.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.2872, allocations: 219.3 kB / 428.6 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.2873, allocations: 95.11 kB / 428.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.2874, allocations: 11.44 kB / 428.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2874, allocations: 0 / 428.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of Templates: time 0.005137/0.2925, allocations: 1.296 MB / 430 MB, free: 7.895 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.144974279683083]