Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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.0009281/0.0009281, allocations: 75.77 kB / 22.45 MB, free: 2.09 MB / 18.57 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.0008865/0.0008865, allocations: 164 kB / 25.75 MB, free: 8.945 MB / 18.57 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 0.8972/0.8972, allocations: 158.6 MB / 187.5 MB, free: 2.945 MB / 170.7 MB " [Timeout remaining time 179] 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.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5101,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 251.1 MB, free: 7.895 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.57e-05, allocations: 2.312 kB / 251.1 MB, free: 7.891 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002698/0.002724, allocations: 1.555 MB / 252.7 MB, free: 6.324 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.005141, allocations: 1.403 MB / 254.1 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.005209, allocations: 0 / 254.1 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.005311, allocations: 15.8 kB / 254.1 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.005411, allocations: 27.78 kB / 254.1 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.006467, allocations: 410.4 kB / 254.5 MB, free: 4.461 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.006639, allocations: 135.5 kB / 254.6 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.006687, allocations: 5.688 kB / 254.6 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.006797, allocations: 75.8 kB / 254.7 MB, free: 4.246 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.006875, allocations: 59.8 kB / 254.8 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.006899, allocations: 12 kB / 254.8 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006818/0.007581, allocations: 442.9 kB / 255.2 MB, free: 3.742 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.007641, allocations: 47.83 kB / 255.3 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.007702, allocations: 39.84 kB / 255.3 MB, free: 3.656 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.008292, allocations: 438.7 kB / 255.7 MB, free: 3.227 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.008296, allocations: 0 / 255.7 MB, free: 3.227 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008297, allocations: 0 / 255.7 MB, free: 3.227 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.008301, allocations: 0 / 255.7 MB, free: 3.227 MB / 234.7 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.0007787/0.00908, allocations: 0.542 MB / 256.3 MB, free: 2.648 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.009119, allocations: 11.98 kB / 256.3 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.009376, allocations: 36.77 kB / 256.3 MB, free: 2.602 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.009547, allocations: 173.8 kB / 256.5 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.009569, allocations: 4.375 kB / 256.5 MB, free: 2.398 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.00959, allocations: 8.375 kB / 256.5 MB, free: 2.391 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.01019, allocations: 101.3 kB / 256.6 MB, free: 2.273 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.0102, allocations: 4.125 kB / 256.6 MB, free: 2.27 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.01021, allocations: 4.312 kB / 256.6 MB, free: 2.266 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.01022, allocations: 3.938 kB / 256.6 MB, free: 2.262 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.089e-05/0.0103, allocations: 23.97 kB / 256.6 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/0.01101, allocations: 0.6146 MB / 257.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.0112, allocations: 117.2 kB / 257.4 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.01126, allocations: 43.11 kB / 257.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.01127, allocations: 0 / 257.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.01146, allocations: 128 kB / 257.5 MB, free: 1.219 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.01146, allocations: 0 / 257.5 MB, free: 1.219 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003822/0.01184, allocations: 161.5 kB / 257.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.01191, allocations: 122.8 kB / 257.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.01212, allocations: 242.8 kB / 258.1 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.01216, allocations: 49.67 kB / 258.1 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.01224, allocations: 155.4 kB / 258.3 MB, free: 456 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.01229, allocations: 43.69 kB / 258.3 MB, free: 412 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.01239, allocations: 67.33 kB / 258.4 MB, free: 336 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.01256, allocations: 0.5079 MB / 258.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.01266, allocations: 31.98 kB / 258.9 MB, free: 15.78 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.01279, allocations: 94.56 kB / 259 MB, free: 15.67 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.01299, allocations: 127.2 kB / 259.1 MB, free: 15.53 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.013, allocations: 0 / 259.1 MB, free: 15.53 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000347/0.01334, allocations: 205.2 kB / 259.3 MB, free: 15.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.01336, allocations: 8 kB / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01337, allocations: 0 / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.01338, allocations: 4.094 kB / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.01357, allocations: 43.97 kB / 259.4 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.01358, allocations: 7.938 kB / 259.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.01366, allocations: 23.83 kB / 259.4 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.01368, allocations: 20.08 kB / 259.4 MB, free: 15.21 MB / 250.7 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.0001232/0.01381, allocations: 180.5 kB / 259.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.01384, allocations: 27.78 kB / 259.6 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.01388, allocations: 17.45 kB / 259.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01388, allocations: 0 / 259.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01388, allocations: 0 / 259.6 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.01389, allocations: 4 kB / 259.7 MB, free: 14.97 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.01405, allocations: 160.5 kB / 259.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01405, allocations: 0 / 259.8 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.0141, allocations: 19.92 kB / 259.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.0141, allocations: 0 / 259.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01411, allocations: 4 kB / 259.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01412, allocations: 0 / 259.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01412, allocations: 0 / 259.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.0144, allocations: 195.2 kB / 260 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.01443, allocations: 23.78 kB / 260 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.01446, allocations: 11.98 kB / 260.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.01452, allocations: 4 kB / 260.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.01458, allocations: 15.97 kB / 260.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01459, allocations: 8 kB / 260.1 MB, free: 14.48 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.01471, allocations: 181 kB / 260.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01471, allocations: 0 / 260.3 MB, free: 14.3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004583/0.01517, allocations: 119.7 kB / 260.4 MB, free: 14.18 MB / 250.7 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.0008088/0.01598, allocations: 385 kB / 260.8 MB, free: 13.83 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.01624, allocations: 115.7 kB / 260.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01625, allocations: 192 / 260.9 MB, free: 13.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.01633, allocations: 51.59 kB / 260.9 MB, free: 13.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.01656, allocations: 22.7 kB / 260.9 MB, free: 13.64 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.01704, allocations: 279.2 kB / 261.2 MB, free: 13.33 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.526e-05/0.01709, allocations: 75.69 kB / 261.3 MB, free: 13.24 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.504e-05/0.01716, allocations: 21.47 kB / 261.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.01721, allocations: 20.48 kB / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01721, allocations: 4.062 kB / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of Templates: time 0.007743/0.02495, allocations: 3.805 MB / 265.1 MB, free: 9.395 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.746739794034511]