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.001331/0.001331, 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 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.001451/0.001451, allocations: 212.4 kB / 23.73 MB, free: 4.41 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.001805/0.001805, allocations: 51.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2903, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002328/0.2926, allocations: 0.887 MB / 432.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006441/0.2933, allocations: 243.1 kB / 432.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.137e-05/0.2933, allocations: 0 / 432.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.2934, allocations: 7.938 kB / 432.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.2935, allocations: 15.92 kB / 432.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.294, allocations: 95.72 kB / 432.8 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.2941, allocations: 39.91 kB / 432.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.2942, allocations: 19.98 kB / 432.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.2942, allocations: 19.86 kB / 432.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.2943, allocations: 19.92 kB / 432.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2943, allocations: 4 kB / 432.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2944, allocations: 43.89 kB / 433 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.2945, allocations: 23.92 kB / 433 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.2945, allocations: 19.81 kB / 433 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.2948, allocations: 101.9 kB / 433.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2948, allocations: 0 / 433.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2948, allocations: 0 / 433.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.351e-06/0.2948, allocations: 0 / 433.1 MB, free: 5.203 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.0005555/0.2953, allocations: 313.9 kB / 433.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2954, allocations: 8.031 kB / 433.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.2954, allocations: 8.891 kB / 433.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.2957, allocations: 148.4 kB / 433.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.2957, allocations: 8.375 kB / 433.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.2957, allocations: 4.375 kB / 433.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.296, allocations: 153.4 kB / 433.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.296, allocations: 4.125 kB / 433.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.296, allocations: 3.938 kB / 433.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.296, allocations: 4 kB / 433.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.209e-05/0.2961, allocations: 23.98 kB / 433.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.2964, allocations: 213.4 kB / 434 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.927e-05/0.2965, allocations: 46.5 kB / 434 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.2965, allocations: 20.8 kB / 434 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/0.2969, allocations: 55.98 kB / 434.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.297, allocations: 42.55 kB / 434.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.297, allocations: 4 kB / 434.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002248/0.2972, allocations: 85.58 kB / 434.2 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.2973, allocations: 55.41 kB / 434.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2974, allocations: 145.4 kB / 434.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.2974, allocations: 25.7 kB / 434.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.2975, allocations: 88.14 kB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.2975, allocations: 11.94 kB / 434.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.2976, allocations: 25.67 kB / 434.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2977, allocations: 322.8 kB / 434.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.2977, allocations: 12 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.2978, allocations: 69.98 kB / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.2979, allocations: 81.88 kB / 435.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2979, allocations: 0 / 435.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001658/0.2981, allocations: 113.5 kB / 435.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2981, allocations: 8 kB / 435.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2981, allocations: 7.922 kB / 435.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2981, allocations: 4 kB / 435.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.2983, allocations: 19.92 kB / 435.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2983, allocations: 4 kB / 435.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.2983, allocations: 4 kB / 435.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.2983, allocations: 4.422 kB / 435.2 MB, free: 2.867 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.0001285/0.2984, allocations: 137.9 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.2986, allocations: 77.56 kB / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.2987, allocations: 90.39 kB / 435.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2987, allocations: 0 / 435.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2987, allocations: 0 / 435.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2987, allocations: 0 / 435.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.2988, allocations: 121.2 kB / 435.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.2989, allocations: 3.938 kB / 435.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.2989, allocations: 8 kB / 435.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2989, allocations: 0 / 435.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.2989, allocations: 3.938 kB / 435.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2989, allocations: 4 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2989, allocations: 4 kB / 435.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.299, allocations: 97.06 kB / 435.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.2991, allocations: 23.81 kB / 435.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.2991, allocations: 8 kB / 435.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.2991, allocations: 0 / 435.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-06/0.2991, allocations: 0 / 435.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.2991, allocations: 4 kB / 435.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.071e-05/0.2992, allocations: 107.2 kB / 435.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2992, allocations: 0 / 435.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.2995, allocations: 20 kB / 435.9 MB, free: 2.098 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.0001634/0.2996, allocations: 111.2 kB / 436 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.2998, allocations: 55.84 kB / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2998, allocations: 0 / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2998, allocations: 0 / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3002, allocations: 84.44 kB / 436.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.3005, allocations: 181.2 kB / 436.3 MB, free: 1.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.169e-05/0.3006, allocations: 87.72 kB / 436.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.3006, allocations: 7.984 kB / 436.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.3007, allocations: 11.44 kB / 436.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3007, allocations: 0 / 436.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Templates: time 0.004643/0.3053, allocations: 1.463 MB / 437.9 MB, free: 68 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.576291611418128]