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.001857/0.001857, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.002339/0.002339, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.524/1.524, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.001816/0.001816, allocations: 47.92 kB / 371.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2667, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002278/0.269, allocations: 0.9164 MB / 424.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006221/0.2696, allocations: 251.1 kB / 425.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.2696, allocations: 0 / 425.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.057e-05/0.2697, allocations: 3.938 kB / 425.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.2698, allocations: 23.84 kB / 425.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.2703, allocations: 95.72 kB / 425.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.2704, allocations: 43.84 kB / 425.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.2705, allocations: 19.92 kB / 425.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/0.2706, allocations: 23.92 kB / 425.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.2706, allocations: 19.86 kB / 425.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2707, allocations: 4 kB / 425.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.2708, allocations: 39.97 kB / 425.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.2708, allocations: 19.92 kB / 425.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.2709, allocations: 35.78 kB / 425.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.271, allocations: 91.28 kB / 425.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.271, allocations: 0 / 425.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.271, allocations: 0 / 425.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.271, allocations: 0 / 425.5 MB, free: 13.12 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.0005136/0.2716, allocations: 323.4 kB / 425.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2716, allocations: 8.031 kB / 425.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.2716, allocations: 12.84 kB / 425.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.2719, allocations: 146.3 kB / 425.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.2719, allocations: 384 / 425.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2719, allocations: 8.375 kB / 426 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.2722, allocations: 153.5 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.2722, allocations: 4.125 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2722, allocations: 3.938 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.2722, allocations: 4 kB / 426.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.2723, allocations: 16 kB / 426.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.2727, allocations: 244.8 kB / 426.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.179e-05/0.2728, allocations: 42.5 kB / 426.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.789e-05/0.2728, allocations: 16.86 kB / 426.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/0.2732, allocations: 59.98 kB / 426.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.2732, allocations: 38.56 kB / 426.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.2732, allocations: 0 / 426.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002204/0.2735, allocations: 89.52 kB / 426.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.2735, allocations: 55.41 kB / 426.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.2737, allocations: 155.2 kB / 426.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2737, allocations: 25.7 kB / 426.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.2737, allocations: 88.14 kB / 426.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.2738, allocations: 19.88 kB / 426.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.2738, allocations: 21.72 kB / 427 MB, free: 11.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.274, allocations: 322.8 kB / 427.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.274, allocations: 19.98 kB / 427.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.2741, allocations: 65.94 kB / 427.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.404e-05/0.2742, allocations: 77.94 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2742, allocations: 4 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001695/0.2744, allocations: 109.4 kB / 427.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2744, allocations: 7.984 kB / 427.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2744, allocations: 4 kB / 427.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2744, allocations: 0 / 427.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.2745, allocations: 16 kB / 427.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.2745, allocations: 0 / 427.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.2745, allocations: 12.17 kB / 427.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.2745, allocations: 8 kB / 427.6 MB, free: 10.75 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.0001232/0.2747, allocations: 133.7 kB / 427.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2748, allocations: 73.7 kB / 427.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.2749, allocations: 90.27 kB / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2749, allocations: 0 / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2749, allocations: 4.188 kB / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2749, allocations: 3.984 kB / 427.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.2751, allocations: 152.5 kB / 428.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.2751, allocations: 4 kB / 428.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.2751, allocations: 7.984 kB / 428.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2751, allocations: 144 / 428.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2751, allocations: 0 / 428.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.2751, allocations: 4 kB / 428.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2751, allocations: 3.984 kB / 428.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.2753, allocations: 97.25 kB / 428.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.2753, allocations: 23.89 kB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.2754, allocations: 15.98 kB / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.2754, allocations: 0 / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-06/0.2754, allocations: 0 / 428.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.2754, allocations: 4 kB / 428.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.458e-05/0.2755, allocations: 120.8 kB / 428.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2755, allocations: 0 / 428.3 MB, free: 9.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000232/0.2757, allocations: 20 kB / 428.3 MB, free: 9.918 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.0001556/0.2759, allocations: 103.2 kB / 428.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.276, allocations: 55.92 kB / 428.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.276, allocations: 0 / 428.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.276, allocations: 0 / 428.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.2764, allocations: 69.78 kB / 428.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.2767, allocations: 211 kB / 428.8 MB, free: 9.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.2771, allocations: 0.7129 MB / 429.5 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.2771, allocations: 15.44 kB / 429.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2771, allocations: 0 / 429.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of Templates: time 0.003403/0.2805, allocations: 1.3 MB / 430.8 MB, free: 7.387 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.129643138032407]