Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001742/0.001742, allocations: 88.7 kB / 21.44 MB, free: 272 kB / 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.001941/0.001941, allocations: 163.8 kB / 24.7 MB, free: 3.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 158.6 MB / 186.5 MB, free: 6.391 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 298.9 MB, free: 8.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.952e-05, allocations: 6.281 kB / 298.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002932/0.002962, allocations: 1.46 MB / 300.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.004172, allocations: 0.5543 MB / 301 MB, free: 6.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.004219, allocations: 4 kB / 301 MB, free: 6.781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.004321, allocations: 7.875 kB / 301 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.004396, allocations: 19.86 kB / 301 MB, free: 6.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.005015, allocations: 163.3 kB / 301.2 MB, free: 6.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.005197, allocations: 119.6 kB / 301.3 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.005243, allocations: 5.25 kB / 301.3 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.005345, allocations: 63.88 kB / 301.3 MB, free: 6.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.005418, allocations: 47.81 kB / 301.4 MB, free: 6.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.005449, allocations: 12 kB / 301.4 MB, free: 6.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.005776, allocations: 159.6 kB / 301.6 MB, free: 6.195 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.005842, allocations: 39.84 kB / 301.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.005908, allocations: 39.84 kB / 301.6 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.006297, allocations: 231.3 kB / 301.9 MB, free: 5.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.006301, allocations: 0 / 301.9 MB, free: 5.891 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.006302, allocations: 0 / 301.9 MB, free: 5.891 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.006309, allocations: 0 / 301.9 MB, free: 5.891 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000778/0.007087, allocations: 385.4 kB / 302.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.007131, allocations: 11.98 kB / 302.2 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.007473, allocations: 40.81 kB / 302.3 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.007667, allocations: 149.5 kB / 302.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.00769, allocations: 4.359 kB / 302.4 MB, free: 5.254 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.007715, allocations: 12.38 kB / 302.4 MB, free: 5.242 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.007978, allocations: 107.9 kB / 302.6 MB, free: 5.125 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.00799, allocations: 192 / 302.6 MB, free: 5.125 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.008002, allocations: 384 / 302.6 MB, free: 5.125 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.008009, allocations: 8.312 kB / 302.6 MB, free: 5.117 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.008186, allocations: 63.83 kB / 302.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006861/0.008872, allocations: 293.3 kB / 302.9 MB, free: 4.734 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.009212, allocations: 121.1 kB / 303 MB, free: 4.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.009328, allocations: 49.75 kB / 303.1 MB, free: 4.543 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.009342, allocations: 0 / 303.1 MB, free: 4.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003367/0.009679, allocations: 141.1 kB / 303.2 MB, free: 4.387 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.00968, allocations: 0 / 303.2 MB, free: 4.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006346/0.01031, allocations: 241.5 kB / 303.4 MB, free: 4.145 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.01039, allocations: 93.09 kB / 303.5 MB, free: 4.035 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.01058, allocations: 182.2 kB / 303.7 MB, free: 3.848 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.01063, allocations: 49.69 kB / 303.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.01071, allocations: 104.6 kB / 303.9 MB, free: 3.688 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.01076, allocations: 39.7 kB / 303.9 MB, free: 3.648 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.01085, allocations: 53.92 kB / 304 MB, free: 3.586 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.01101, allocations: 342.8 kB / 304.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.0112, allocations: 96.47 kB / 304.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.01142, allocations: 131.5 kB / 304.5 MB, free: 3.012 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.01178, allocations: 211 kB / 304.7 MB, free: 2.797 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01178, allocations: 0 / 304.7 MB, free: 2.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005365/0.01232, allocations: 301.4 kB / 305 MB, free: 2.496 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.01234, allocations: 4 kB / 305 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.01234, allocations: 4.031 kB / 305 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.01237, allocations: 7.984 kB / 305 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.01253, allocations: 27.92 kB / 305.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01254, allocations: 0 / 305.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.01262, allocations: 27.83 kB / 305.1 MB, free: 2.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.01264, allocations: 20.39 kB / 305.1 MB, free: 2.406 MB / 286.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: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1],uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001812/0.01282, allocations: 149.8 kB / 305.3 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.01285, allocations: 15.84 kB / 305.3 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.01289, allocations: 13.47 kB / 305.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.01289, allocations: 4 kB / 305.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.0129, allocations: 0 / 305.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.0129, allocations: 0 / 305.3 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.01309, allocations: 137.3 kB / 305.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01309, allocations: 0 / 305.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.01314, allocations: 7.984 kB / 305.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.01314, allocations: 11.94 kB / 305.4 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01316, allocations: 3.938 kB / 305.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01316, allocations: 0 / 305.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.415e-05/0.01317, allocations: 4 kB / 305.4 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.01358, allocations: 225.7 kB / 305.7 MB, free: 1.789 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.01361, allocations: 15.91 kB / 305.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.01365, allocations: 15.92 kB / 305.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.0137, allocations: 4 kB / 305.7 MB, free: 1.754 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.01377, allocations: 11.98 kB / 305.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.01379, allocations: 11.98 kB / 305.7 MB, free: 1.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.01392, allocations: 123.2 kB / 305.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01392, allocations: 0 / 305.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.01424, allocations: 51.88 kB / 305.9 MB, free: 1.559 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006085/0.01485, allocations: 246.1 kB / 306.1 MB, free: 1.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.01525, allocations: 171.8 kB / 306.3 MB, free: 1.148 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.01525, allocations: 4 kB / 306.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.01539, allocations: 51.91 kB / 306.4 MB, free: 1.094 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.01556, allocations: 12.12 kB / 306.4 MB, free: 1.082 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.01616, allocations: 255 kB / 306.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.01626, allocations: 93.77 kB / 306.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.01631, allocations: 21.03 kB / 306.7 MB, free: 0.668 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.01637, allocations: 20.44 kB / 306.8 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.01637, allocations: 0 / 306.8 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of Templates: time 0.005957/0.02232, allocations: 2.221 MB / 309 MB, free: 14.43 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.213742777705193]