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.001538/0.001538, allocations: 85.98 kB / 20.68 MB, free: 1.035 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.001789/0.001789, allocations: 165.5 kB / 23.96 MB, free: 4.164 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.499/1.499, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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 1.322e-06/1.322e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.888e-05, allocations: 9.172 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002019/0.002047, allocations: 0.8905 MB / 326 MB, free: 16 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007236/0.002771, allocations: 249.2 kB / 326.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.253e-05/0.002854, allocations: 9.188 kB / 326.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.08e-05/0.002904, allocations: 6.859 kB / 326.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.003054, allocations: 12.34 kB / 326.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.00354, allocations: 106.5 kB / 326.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.003684, allocations: 44.91 kB / 326.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.003779, allocations: 10.55 kB / 326.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.003836, allocations: 22.72 kB / 326.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.003908, allocations: 18.19 kB / 326.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.003931, allocations: 2.562 kB / 326.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.004046, allocations: 44.17 kB / 326.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.004157, allocations: 21.95 kB / 326.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.004198, allocations: 15.33 kB / 326.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.004432, allocations: 98.69 kB / 326.6 MB, free: 15.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.004436, allocations: 5.125 kB / 326.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004438, allocations: 0 / 326.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.004443, allocations: 0 / 326.6 MB, free: 15.68 MB / 302.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.0005697/0.005012, allocations: 315.6 kB / 326.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.005047, allocations: 8.969 kB / 326.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.005086, allocations: 9.422 kB / 326.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.005346, allocations: 137.9 kB / 327.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.005358, allocations: 2.25 kB / 327.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.005375, allocations: 3.688 kB / 327.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.005695, allocations: 171.2 kB / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.005705, allocations: 192 / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.005716, allocations: 384 / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.005721, allocations: 384 / 327.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.526e-05/0.005776, allocations: 24.52 kB / 327.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.006102, allocations: 204.5 kB / 327.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.006212, allocations: 40.06 kB / 327.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.006254, allocations: 25.09 kB / 327.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004213/0.006675, allocations: 60.16 kB / 327.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.006712, allocations: 37.22 kB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.006713, allocations: 0 / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002295/0.006943, allocations: 86.97 kB / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.007008, allocations: 66.12 kB / 327.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.007157, allocations: 147 kB / 327.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.007184, allocations: 25.7 kB / 328 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.007241, allocations: 88.59 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.007258, allocations: 10.06 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.007299, allocations: 21.36 kB / 328.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.007447, allocations: 316.3 kB / 328.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.007478, allocations: 18.12 kB / 328.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.007532, allocations: 42.97 kB / 328.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.007595, allocations: 44.97 kB / 328.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.007602, allocations: 4 kB / 328.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000123/0.007725, allocations: 83.36 kB / 328.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.007742, allocations: 10.86 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007747, allocations: 0 / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.007764, allocations: 1.641 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.007831, allocations: 13.66 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.007836, allocations: 1.406 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.007861, allocations: 2.531 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.007867, allocations: 5.281 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (6): * Single equations (assignments): 6 * 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.0001882/0.008056, allocations: 131.2 kB / 328.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.008165, allocations: 75.66 kB / 328.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.008329, allocations: 87.2 kB / 328.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.008332, allocations: 1.188 kB / 328.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.008336, allocations: 0 / 328.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.008341, allocations: 1.531 kB / 328.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.008461, allocations: 117.2 kB / 329 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.008467, allocations: 1.219 kB / 329 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.008505, allocations: 5.734 kB / 329 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.008507, allocations: 4 kB / 329 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.008517, allocations: 5.797 kB / 329 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.008519, allocations: 1.125 kB / 329 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.00852, allocations: 0 / 329 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.008658, allocations: 108.9 kB / 329.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.008709, allocations: 21.64 kB / 329.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.008735, allocations: 7.531 kB / 329.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.008759, allocations: 192 / 329.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-06/0.008763, allocations: 1.156 kB / 329.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.008777, allocations: 5.875 kB / 329.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.983e-05/0.008866, allocations: 109.3 kB / 329.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.008867, allocations: 4 kB / 329.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.009108, allocations: 22.09 kB / 329.3 MB, free: 13.39 MB / 302.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.0002034/0.009311, allocations: 106.3 kB / 329.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.009436, allocations: 41.67 kB / 329.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009438, allocations: 0 / 329.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.009438, allocations: 0 / 329.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.009852, allocations: 86.66 kB / 329.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.01026, allocations: 187.4 kB / 329.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.01037, allocations: 88.03 kB / 329.8 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.696e-05/0.0104, allocations: 8.188 kB / 329.8 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.01043, allocations: 11.75 kB / 329.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01043, allocations: 0 / 329.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of Templates: time 0.005777/0.01621, allocations: 1.408 MB / 331.2 MB, free: 12.52 MB / 302.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.392488557845354]