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.001788/0.001788, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002043/0.002043, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.527/1.527, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001554/0.001554, allocations: 51.91 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2385, allocations: 53.35 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002247/0.2407, allocations: 0.8936 MB / 433.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006251/0.2413, allocations: 247.1 kB / 433.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.2414, allocations: 0 / 433.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.35e-05/0.2415, allocations: 7.922 kB / 433.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2416, allocations: 11.88 kB / 433.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.2421, allocations: 103.7 kB / 433.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.2422, allocations: 39.91 kB / 433.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2423, allocations: 19.98 kB / 433.6 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.418e-05/0.2424, allocations: 15.88 kB / 433.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.2424, allocations: 23.91 kB / 433.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2425, allocations: 0 / 433.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.2426, allocations: 47.89 kB / 433.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.012e-05/0.2426, allocations: 23.92 kB / 433.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.2427, allocations: 23.81 kB / 433.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.2428, allocations: 102.3 kB / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2428, allocations: 0 / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2428, allocations: 0 / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.2428, allocations: 0 / 433.9 MB, free: 5.207 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.0005088/0.2434, allocations: 309.9 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.2434, allocations: 8.031 kB / 434.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.2434, allocations: 12.88 kB / 434.2 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.2437, allocations: 144.4 kB / 434.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.2437, allocations: 12.38 kB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.2437, allocations: 384 / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.244, allocations: 149.5 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.244, allocations: 192 / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.244, allocations: 3.938 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.244, allocations: 4 kB / 434.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.2441, allocations: 27.92 kB / 434.5 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.2444, allocations: 205.4 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.893e-05/0.2445, allocations: 50.5 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.2445, allocations: 20.8 kB / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/0.2449, allocations: 59.97 kB / 434.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.2449, allocations: 34.56 kB / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2449, allocations: 0 / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002146/0.2452, allocations: 85.58 kB / 435 MB, free: 3.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.2452, allocations: 59.41 kB / 435 MB, free: 3.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2454, allocations: 145.2 kB / 435.2 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.2454, allocations: 29.64 kB / 435.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.2454, allocations: 88.14 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.2455, allocations: 11.94 kB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.2455, allocations: 25.67 kB / 435.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2456, allocations: 322.8 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.2457, allocations: 15.98 kB / 435.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.2457, allocations: 62.08 kB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.2458, allocations: 85.88 kB / 435.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2458, allocations: 0 / 435.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001687/0.246, allocations: 117.6 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.246, allocations: 4 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.246, allocations: 4 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.246, allocations: 0 / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.2461, allocations: 19.94 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2461, allocations: 3.938 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.2462, allocations: 8 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2462, allocations: 8 kB / 436 MB, free: 2.883 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.0001166/0.2463, allocations: 135.3 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.2464, allocations: 73.56 kB / 436.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.2466, allocations: 94.45 kB / 436.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2466, allocations: 8.016 kB / 436.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2466, allocations: 0 / 436.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2466, allocations: 0 / 436.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.426e-05/0.2467, allocations: 117.3 kB / 436.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.2467, allocations: 3.938 kB / 436.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.2467, allocations: 7.938 kB / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2467, allocations: 0 / 436.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.2467, allocations: 7.984 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2467, allocations: 0 / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2467, allocations: 0 / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.2469, allocations: 101.3 kB / 436.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.247, allocations: 23.88 kB / 436.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.247, allocations: 8 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.397e-05/0.247, allocations: 0 / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-06/0.247, allocations: 8.109 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.247, allocations: 4 kB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.968e-05/0.2471, allocations: 107.2 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2471, allocations: 0 / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.2473, allocations: 20 kB / 436.7 MB, free: 2.105 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.0001626/0.2475, allocations: 111.2 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.2476, allocations: 55.83 kB / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2476, allocations: 0 / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.2476, allocations: 0 / 436.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.248, allocations: 77.69 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.2484, allocations: 181.2 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.637e-05/0.2485, allocations: 87.7 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.37e-05/0.2485, allocations: 8 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.2485, allocations: 11.44 kB / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2485, allocations: 0 / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of Templates: time 0.004422/0.253, allocations: 1.488 MB / 438.7 MB, free: 56 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 -s gbode -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: 4.402958827005932]