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.001658/0.001658, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001945/0.001945, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.002104/0.002104, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.265, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002401/0.2674, allocations: 0.8871 MB / 433.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000731/0.2682, allocations: 243.1 kB / 433.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.2683, allocations: 7.938 kB / 433.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.409e-05/0.2683, allocations: 3.938 kB / 433.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2685, allocations: 7.922 kB / 433.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.2689, allocations: 99.67 kB / 433.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.269, allocations: 59.83 kB / 433.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.2691, allocations: 4 kB / 433.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.077e-05/0.2692, allocations: 19.92 kB / 433.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.2692, allocations: 19.86 kB / 433.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.2692, allocations: 4 kB / 433.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.2694, allocations: 39.97 kB / 433.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.2694, allocations: 27.89 kB / 433.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.2695, allocations: 23.88 kB / 433.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.2696, allocations: 98.17 kB / 433.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2697, allocations: 0 / 433.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2697, allocations: 0 / 433.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2697, allocations: 0 / 433.9 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.0005203/0.2702, allocations: 313.9 kB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2702, allocations: 8.031 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.2703, allocations: 8.891 kB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.2705, allocations: 152.3 kB / 434.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2706, allocations: 4.375 kB / 434.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.2706, allocations: 8.375 kB / 434.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.2709, allocations: 149.5 kB / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2709, allocations: 192 / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2709, allocations: 3.938 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2709, allocations: 4 kB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.243e-05/0.271, allocations: 23.92 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.2713, allocations: 209.4 kB / 434.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.257e-05/0.2714, allocations: 46.56 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.2714, allocations: 20.8 kB / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/0.2718, allocations: 63.92 kB / 434.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2719, allocations: 34.5 kB / 434.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.2719, allocations: 4 kB / 434.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002032/0.2721, allocations: 85.62 kB / 435 MB, free: 3.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.2721, allocations: 51.41 kB / 435 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.2723, allocations: 149.4 kB / 435.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2723, allocations: 25.7 kB / 435.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.2724, allocations: 88.14 kB / 435.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.2724, allocations: 11.89 kB / 435.3 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.2724, allocations: 29.66 kB / 435.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.2726, allocations: 318.8 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.2726, allocations: 23.92 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.2727, allocations: 65.98 kB / 435.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.323e-05/0.2728, allocations: 77.94 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2728, allocations: 3.938 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001678/0.273, allocations: 113.5 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.273, allocations: 8 kB / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.273, allocations: 0 / 435.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.273, allocations: 4 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.876e-05/0.2731, allocations: 15.98 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2731, allocations: 7.938 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.2731, allocations: 4 kB / 436 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2731, allocations: 4 kB / 436 MB, free: 2.875 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.0001094/0.2732, allocations: 133.7 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.2734, allocations: 82.09 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.2735, allocations: 94.25 kB / 436.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2735, allocations: 0 / 436.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2735, allocations: 0 / 436.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2735, allocations: 0 / 436.3 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.2736, allocations: 125.2 kB / 436.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.2736, allocations: 3.938 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.2737, allocations: 4 kB / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2737, allocations: 0 / 436.4 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.2737, allocations: 4 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2737, allocations: 0 / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2737, allocations: 4.188 kB / 436.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.2738, allocations: 101 kB / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.2739, allocations: 31.81 kB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2739, allocations: 0 / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.712e-05/0.2739, allocations: 8 kB / 436.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-06/0.2739, allocations: 4 kB / 436.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2739, allocations: 0 / 436.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.415e-05/0.274, allocations: 111.2 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.274, allocations: 0 / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002159/0.2742, allocations: 12 kB / 436.7 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.0001672/0.2744, allocations: 115.2 kB / 436.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.2745, allocations: 47.92 kB / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2745, allocations: 0 / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.4e-07/0.2745, allocations: 0 / 436.8 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.2749, allocations: 87.98 kB / 436.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.2753, allocations: 207 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2754, allocations: 91.7 kB / 437.2 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.2754, allocations: 15.44 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2754, allocations: 0 / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of Templates: time 0.003168/0.2786, allocations: 1.294 MB / 438.5 MB, free: 196 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/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_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: 6.977648532949388]