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.002276/0.002276, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.002559/0.002559, allocations: 204.3 kB / 20.74 MB, free: 2.414 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.729/1.729, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001412/0.001412, allocations: 51.86 kB / 373.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1442, allocations: 53.32 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.003058/0.1472, allocations: 0.8883 MB / 427.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006993/0.1479, allocations: 251.1 kB / 427.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.569e-05/0.148, allocations: 7.938 kB / 427.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.1481, allocations: 3.938 kB / 428 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.876e-05/0.1482, allocations: 11.92 kB / 428 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1486, allocations: 98.59 kB / 428.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1487, allocations: 43.84 kB / 428.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.936e-05/0.1487, allocations: 23.98 kB / 428.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.1488, allocations: 11.94 kB / 428.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.1488, allocations: 23.86 kB / 428.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1489, allocations: 4 kB / 428.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.1489, allocations: 43.94 kB / 428.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.918e-05/0.149, allocations: 27.92 kB / 428.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.149, allocations: 23.81 kB / 428.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1492, allocations: 91.56 kB / 428.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1492, allocations: 3.938 kB / 428.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.149e-06/0.1492, allocations: 4 kB / 428.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1492, allocations: 0 / 428.4 MB, free: 2.754 MB / 350.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.0004961/0.1497, allocations: 387 kB / 428.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.556e-05/0.1497, allocations: 12.03 kB / 428.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.1497, allocations: 12.89 kB / 428.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.15, allocations: 200.2 kB / 429 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.15, allocations: 4.375 kB / 429 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-06/0.15, allocations: 4.375 kB / 429 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.1503, allocations: 157.4 kB / 429.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1503, allocations: 192 / 429.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1503, allocations: 7.938 kB / 429.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1503, allocations: 0 / 429.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.1503, allocations: 23.94 kB / 429.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.1506, allocations: 265.8 kB / 429.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.1507, allocations: 50.5 kB / 429.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.1508, allocations: 20.8 kB / 429.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007494/0.1515, allocations: 0.5818 MB / 430.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1515, allocations: 34.56 kB / 430.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1515, allocations: 0 / 430.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001866/0.1517, allocations: 93.69 kB / 430.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.1518, allocations: 55.39 kB / 430.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1519, allocations: 148.1 kB / 430.4 MB, free: 400 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1519, allocations: 25.7 kB / 430.4 MB, free: 368 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.152, allocations: 88.12 kB / 430.5 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.152, allocations: 11.95 kB / 430.5 MB, free: 264 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.152, allocations: 29.7 kB / 430.5 MB, free: 228 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1522, allocations: 322.7 kB / 430.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.1522, allocations: 19.98 kB / 430.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.1523, allocations: 62 kB / 430.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1524, allocations: 86.05 kB / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1524, allocations: 0 / 431 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001712/0.1526, allocations: 113.4 kB / 431.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1526, allocations: 11.94 kB / 431.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.1526, allocations: 0 / 431.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1526, allocations: 4.047 kB / 431.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.1527, allocations: 19.97 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1527, allocations: 11.94 kB / 431.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.1527, allocations: 7.953 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1527, allocations: 4 kB / 431.2 MB, free: 15.52 MB / 366.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.0001264/0.1529, allocations: 137.9 kB / 431.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.153, allocations: 73.64 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.1531, allocations: 82.33 kB / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1531, allocations: 0 / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1531, allocations: 0 / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1531, allocations: 0 / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.1533, allocations: 181.5 kB / 431.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1533, allocations: 0 / 431.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.1533, allocations: 4 kB / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1533, allocations: 4 kB / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1533, allocations: 4 kB / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1533, allocations: 0 / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1533, allocations: 0 / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.1535, allocations: 109 kB / 431.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.1536, allocations: 96.98 kB / 431.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1536, allocations: 4 kB / 431.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.863e-05/0.1536, allocations: 7.984 kB / 431.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-06/0.1536, allocations: 0 / 431.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1536, allocations: 8 kB / 431.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.779e-05/0.1537, allocations: 118.2 kB / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1537, allocations: 0 / 432 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.1539, allocations: 16 kB / 432 MB, free: 14.58 MB / 366.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.0001844/0.1541, allocations: 111.2 kB / 432.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1542, allocations: 56.27 kB / 432.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.1542, allocations: 4.062 kB / 432.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1542, allocations: 0 / 432.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1546, allocations: 83.75 kB / 432.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.1549, allocations: 173.3 kB / 432.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1552, allocations: 0.7041 MB / 433.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.162e-05/0.1553, allocations: 4.672 kB / 433.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.179e-05/0.1553, allocations: 15.44 kB / 433.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1553, allocations: 0 / 433.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of Templates: time 0.004105/0.1594, allocations: 1.343 MB / 434.5 MB, free: 12.03 MB / 366.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: 5.332505092024803]