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.001467/0.001467, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001432/0.001432, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.571/1.571, allocations: 225.6 MB / 252.5 MB, free: 12.98 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.001672/0.001672, allocations: 48.05 kB / 370.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3289, allocations: 52.18 MB / 423.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002514/0.3314, allocations: 0.9133 MB / 424 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007136/0.3321, allocations: 255.1 kB / 424.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.3322, allocations: 0 / 424.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.359e-05/0.3322, allocations: 3.938 kB / 424.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001611/0.3324, allocations: 19.86 kB / 424.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.3329, allocations: 95.78 kB / 424.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3331, allocations: 51.77 kB / 424.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3332, allocations: 12 kB / 424.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.3332, allocations: 19.92 kB / 424.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.371e-05/0.3333, allocations: 19.86 kB / 424.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3333, allocations: 4 kB / 424.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3334, allocations: 43.95 kB / 424.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.3335, allocations: 19.92 kB / 424.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.3335, allocations: 31.8 kB / 424.6 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.3338, allocations: 93.17 kB / 424.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3338, allocations: 0 / 424.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3338, allocations: 0 / 424.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3338, allocations: 0 / 424.7 MB, free: 13.24 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.0005627/0.3343, allocations: 321.8 kB / 425 MB, free: 12.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3344, allocations: 8.031 kB / 425 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.3344, allocations: 16.84 kB / 425 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.3347, allocations: 145.4 kB / 425.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3347, allocations: 8.312 kB / 425.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.3347, allocations: 4.375 kB / 425.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.335, allocations: 157.4 kB / 425.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.335, allocations: 192 / 425.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.3351, allocations: 7.938 kB / 425.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3351, allocations: 7.938 kB / 425.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.978e-05/0.3351, allocations: 16 kB / 425.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.3354, allocations: 244.8 kB / 425.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.3356, allocations: 38.5 kB / 425.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.3356, allocations: 20.86 kB / 425.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.336, allocations: 59.98 kB / 425.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.3361, allocations: 34.55 kB / 425.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3361, allocations: 0 / 425.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002297/0.3363, allocations: 93.53 kB / 425.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.3363, allocations: 55.41 kB / 425.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3365, allocations: 155.2 kB / 426.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3365, allocations: 25.7 kB / 426.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.3366, allocations: 84.22 kB / 426.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3366, allocations: 15.94 kB / 426.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.3366, allocations: 21.72 kB / 426.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3368, allocations: 326.7 kB / 426.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.3368, allocations: 19.98 kB / 426.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/0.3369, allocations: 73.92 kB / 426.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.817e-05/0.337, allocations: 77.94 kB / 426.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.337, allocations: 0 / 426.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.3372, allocations: 117.4 kB / 426.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3372, allocations: 4 kB / 426.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3372, allocations: 8.219 kB / 426.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3372, allocations: 4 kB / 426.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.3373, allocations: 12 kB / 426.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3373, allocations: 4 kB / 426.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.3374, allocations: 7.953 kB / 426.8 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3374, allocations: 4 kB / 426.8 MB, free: 10.85 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.0001221/0.3375, allocations: 133.7 kB / 427 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3376, allocations: 69.64 kB / 427 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.3378, allocations: 94.41 kB / 427.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3378, allocations: 4.031 kB / 427.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3378, allocations: 0 / 427.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3378, allocations: 0 / 427.1 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.338, allocations: 148.8 kB / 427.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.338, allocations: 3.984 kB / 427.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.338, allocations: 7.938 kB / 427.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.338, allocations: 0 / 427.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.338, allocations: 4 kB / 427.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.338, allocations: 0 / 427.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.338, allocations: 3.938 kB / 427.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.3382, allocations: 105 kB / 427.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.3382, allocations: 23.91 kB / 427.4 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.3382, allocations: 7.984 kB / 427.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.3383, allocations: 0 / 427.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-06/0.3383, allocations: 3.938 kB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3383, allocations: 4 kB / 427.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.897e-05/0.3384, allocations: 116.9 kB / 427.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3384, allocations: 0 / 427.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.3386, allocations: 24 kB / 427.6 MB, free: 10.02 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.000187/0.3388, allocations: 103.2 kB / 427.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.339, allocations: 55.91 kB / 427.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.339, allocations: 0 / 427.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.339, allocations: 0 / 427.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.3394, allocations: 74.12 kB / 427.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.3398, allocations: 185.2 kB / 428 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.3402, allocations: 0.7087 MB / 428.7 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.565e-05/0.3402, allocations: 12.66 kB / 428.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.3402, allocations: 11.44 kB / 428.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3402, allocations: 0 / 428.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of Templates: time 0.00489/0.3451, allocations: 1.386 MB / 430.1 MB, free: 7.434 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/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: 4.9630975387990475]