Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.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.001914/0.001914, allocations: 117 kB / 18.41 MB, free: 4.664 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.002239/0.00224, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.442/1.442, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.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.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 51.91 kB / 358.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1171, allocations: 49.44 MB / 408.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Distributions): time 0.003245/0.1204, allocations: 1.524 MB / 409.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1232, allocations: 1.434 MB / 411.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1234, allocations: 4 kB / 411.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.1235, allocations: 11.86 kB / 411.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.886e-05/0.1237, allocations: 23.78 kB / 411.1 MB, free: 3.867 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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.001294/0.125, allocations: 382.8 kB / 411.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1252, allocations: 139.5 kB / 411.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.497e-05/0.1253, allocations: 13.48 kB / 411.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.1254, allocations: 51.77 kB / 411.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000753/0.1261, allocations: 88.14 kB / 411.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.1262, allocations: 12 kB / 411.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007759/0.1269, allocations: 407.3 kB / 412.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.127, allocations: 39.84 kB / 412.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.1271, allocations: 63.59 kB / 412.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.1278, allocations: 394.7 kB / 412.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1278, allocations: 0 / 412.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1278, allocations: 4 kB / 412.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1279, allocations: 0 / 412.7 MB, free: 2.309 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009162/0.1288, allocations: 0.5135 MB / 413.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1288, allocations: 12.03 kB / 413.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.1291, allocations: 36.78 kB / 413.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1293, allocations: 204.8 kB / 413.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.1294, allocations: 11.98 kB / 413.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.1294, allocations: 7.984 kB / 413.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.1297, allocations: 124.2 kB / 413.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1298, allocations: 4 kB / 413.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.1298, allocations: 7.984 kB / 413.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1298, allocations: 4 kB / 413.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.13, allocations: 63.89 kB / 413.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/0.131, allocations: 0.5438 MB / 414.2 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.1316, allocations: 151.7 kB / 414.3 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.1318, allocations: 66.56 kB / 414.4 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1318, allocations: 4 kB / 414.4 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/0.1323, allocations: 149.8 kB / 414.5 MB, free: 204 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.903e-06/0.1323, allocations: 0 / 414.5 MB, free: 204 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001022/0.1333, allocations: 261.9 kB / 414.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.1335, allocations: 118.7 kB / 414.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1338, allocations: 199.1 kB / 415.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.1339, allocations: 45.69 kB / 415.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.134, allocations: 112.5 kB / 415.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.1341, allocations: 43.81 kB / 415.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.1342, allocations: 65.69 kB / 415.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.1345, allocations: 330.8 kB / 415.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/0.1348, allocations: 95.95 kB / 415.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.1352, allocations: 155.2 kB / 415.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.1357, allocations: 224.2 kB / 416.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1358, allocations: 0 / 416.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008976/0.1367, allocations: 305.4 kB / 416.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1367, allocations: 10.34 kB / 416.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1367, allocations: 0 / 416.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.1367, allocations: 7.938 kB / 416.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.137, allocations: 31.97 kB / 416.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.137, allocations: 4 kB / 416.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.1372, allocations: 19.89 kB / 416.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1372, allocations: 15.91 kB / 416.5 MB, free: 14.11 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.0002275/0.1374, allocations: 145.8 kB / 416.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.1375, allocations: 15.89 kB / 416.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.583e-05/0.1376, allocations: 13.41 kB / 416.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.1376, allocations: 11.88 kB / 416.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1376, allocations: 0 / 416.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1376, allocations: 0 / 416.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.1379, allocations: 217.5 kB / 416.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1379, allocations: 4 kB / 416.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.138, allocations: 15.92 kB / 417 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.138, allocations: 4 kB / 417 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.138, allocations: 4 kB / 417 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.1381, allocations: 7.922 kB / 417 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1381, allocations: 0 / 417 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.1387, allocations: 238.5 kB / 417.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.1388, allocations: 101.1 kB / 417.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.1389, allocations: 16.06 kB / 417.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.139, allocations: 11.88 kB / 417.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.1391, allocations: 19.97 kB / 417.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.1391, allocations: 4 kB / 417.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1393, allocations: 133.2 kB / 417.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1393, allocations: 0 / 417.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007768/0.1401, allocations: 131.5 kB / 417.6 MB, free: 12.93 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.001289/0.1414, allocations: 330.4 kB / 417.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000723/0.1421, allocations: 192.4 kB / 418.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1422, allocations: 0 / 418.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.1424, allocations: 79.88 kB / 418.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.1427, allocations: 9.969 kB / 418.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000724/0.1434, allocations: 310.7 kB / 418.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.1439, allocations: 0.7162 MB / 419.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.144, allocations: 15.44 kB / 419.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.144, allocations: 0 / 419.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Templates: time 0.01016/0.1542, allocations: 3.874 MB / 423.1 MB, free: 7.379 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.116738930926658]