Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00174/0.00174, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.661/1.661, allocations: 177.1 MB / 204.7 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 62.89 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.00331/0.1377, allocations: 1.528 MB / 380.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.1405, allocations: 1.393 MB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.1406, allocations: 8 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.1407, allocations: 15.8 kB / 381.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.1408, allocations: 27.8 kB / 381.9 MB, free: 12.52 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.142, allocations: 394.8 kB / 382.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1422, allocations: 131.6 kB / 382.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.1423, allocations: 9.688 kB / 382.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.612e-05/0.1424, allocations: 59.75 kB / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006601/0.143, allocations: 81.22 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.1431, allocations: 12 kB / 382.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007882/0.1439, allocations: 439.2 kB / 383 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.1439, allocations: 35.8 kB / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.144, allocations: 51.7 kB / 383.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.1447, allocations: 410.6 kB / 383.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1447, allocations: 4 kB / 383.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1447, allocations: 0 / 383.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1447, allocations: 4 kB / 383.5 MB, free: 10.92 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008962/0.1456, allocations: 456.7 kB / 383.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1456, allocations: 8.031 kB / 383.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.1459, allocations: 28.83 kB / 384 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.1461, allocations: 152.2 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1461, allocations: 4.359 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1461, allocations: 12.38 kB / 384.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1464, allocations: 128.5 kB / 384.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1464, allocations: 7.938 kB / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.1464, allocations: 4 kB / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1464, allocations: 4 kB / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.1467, allocations: 59.89 kB / 384.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.1474, allocations: 476.7 kB / 384.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1478, allocations: 151.7 kB / 384.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.148, allocations: 58.61 kB / 385 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.148, allocations: 0 / 385 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.1483, allocations: 157.1 kB / 385.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.1483, allocations: 0 / 385.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006361/0.149, allocations: 257.5 kB / 385.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.1491, allocations: 118.8 kB / 385.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.1493, allocations: 195.2 kB / 385.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.1493, allocations: 49.69 kB / 385.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.1494, allocations: 108.6 kB / 385.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.1495, allocations: 47.62 kB / 385.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.1496, allocations: 53.7 kB / 386 MB, free: 8.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1498, allocations: 334.8 kB / 386.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.15, allocations: 100.1 kB / 386.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.1502, allocations: 136 kB / 386.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.1506, allocations: 223.7 kB / 386.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1506, allocations: 0 / 386.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005515/0.1512, allocations: 309.4 kB / 387 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1512, allocations: 4 kB / 387 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1512, allocations: 7.938 kB / 387.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1512, allocations: 3.938 kB / 387.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.1514, allocations: 27.98 kB / 387.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1514, allocations: 3.938 kB / 387.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.089e-05/0.1515, allocations: 31.81 kB / 387.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.1515, allocations: 12 kB / 387.1 MB, free: 7.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,globalSeed.seed,truncatedNormalNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,uniformNoise.actualGlobalSeed,uniformNoise.localSeed,globalSeed.id_impure,uniformNoise.r_raw,$PRE.uniformNoise.r_raw,uniformNoise.r,$PRE.uniformNoise.r,uniformNoise.state[4],$PRE.uniformNoise.state[4],uniformNoise.state[3],$PRE.uniformNoise.state[3],uniformNoise.state[2],$PRE.uniformNoise.state[2],uniformNoise.state[1],$PRE.uniformNoise.state[1],truncatedNormalNoise.r_raw,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r,truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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.000158/0.1516, allocations: 149.8 kB / 387.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.1517, allocations: 15.91 kB / 387.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.1517, allocations: 21.45 kB / 387.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1517, allocations: 0 / 387.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1517, allocations: 4 kB / 387.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1517, allocations: 0 / 387.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.1519, allocations: 141.2 kB / 387.5 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1519, allocations: 4 kB / 387.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.06e-05/0.152, allocations: 15.92 kB / 387.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.152, allocations: 4 kB / 387.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.152, allocations: 0 / 387.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.152, allocations: 4 kB / 387.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.152, allocations: 0 / 387.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.1524, allocations: 254.4 kB / 387.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.1525, allocations: 19.83 kB / 387.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.1525, allocations: 8 kB / 387.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.1526, allocations: 15.98 kB / 387.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.1526, allocations: 12.06 kB / 387.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.1526, allocations: 8 kB / 387.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1528, allocations: 141.2 kB / 387.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1528, allocations: 0 / 387.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004501/0.1532, allocations: 127.6 kB / 388.1 MB, free: 6.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.0007915/0.154, allocations: 328.9 kB / 388.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.1544, allocations: 192.4 kB / 388.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1544, allocations: 0 / 388.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.1546, allocations: 60.09 kB / 388.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.1548, allocations: 12.12 kB / 388.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.1554, allocations: 292.8 kB / 388.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.1555, allocations: 106.8 kB / 389 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.736e-05/0.1555, allocations: 21.55 kB / 389 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/0.1556, allocations: 20.48 kB / 389.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1556, allocations: 0 / 389.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of Templates: time 0.008176/0.1638, allocations: 3.635 MB / 392.7 MB, free: 1.348 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions.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.787852494046092]