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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 102.9 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 47.94 kB / 280 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1254, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003226/0.1287, allocations: 1.618 MB / 328.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.1313, allocations: 1.521 MB / 329.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.1314, allocations: 0 / 329.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.1315, allocations: 3.938 kB / 329.7 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.1317, allocations: 23.84 kB / 329.8 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.1326, allocations: 311.2 kB / 330.1 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1327, allocations: 131.6 kB / 330.2 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.1328, allocations: 9.438 kB / 330.2 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.1329, allocations: 55.77 kB / 330.3 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.133, allocations: 51.77 kB / 330.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.133, allocations: 15.94 kB / 330.3 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/0.1337, allocations: 455.1 kB / 330.8 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.1338, allocations: 35.83 kB / 330.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.1339, allocations: 63.53 kB / 330.9 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.1344, allocations: 419.2 kB / 331.3 MB, free: 188 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1345, allocations: 0 / 331.3 MB, free: 188 kB / 270.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1345, allocations: 4 kB / 331.3 MB, free: 184 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1345, allocations: 0 / 331.3 MB, free: 184 kB / 270.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.0008587/0.1353, allocations: 0.5067 MB / 331.8 MB, free: 15.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1354, allocations: 12.03 kB / 331.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.1356, allocations: 32.64 kB / 331.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1358, allocations: 208.8 kB / 332 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1359, allocations: 4.375 kB / 332 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1359, allocations: 8.375 kB / 332 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.1362, allocations: 136.4 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.1362, allocations: 0 / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.1362, allocations: 8 kB / 332.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1362, allocations: 3.984 kB / 332.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.1364, allocations: 55.95 kB / 332.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008356/0.1373, allocations: 0.5517 MB / 332.8 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.1377, allocations: 159.8 kB / 332.9 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.1378, allocations: 62.55 kB / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.1378, allocations: 0 / 333 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.1381, allocations: 161 kB / 333.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.1382, allocations: 0 / 333.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005893/0.1388, allocations: 249.4 kB / 333.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.1388, allocations: 122.8 kB / 333.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.139, allocations: 206.8 kB / 333.7 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.1391, allocations: 41.7 kB / 333.8 MB, free: 13.42 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.1392, allocations: 108.5 kB / 333.9 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.1392, allocations: 47.47 kB / 333.9 MB, free: 13.26 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.1393, allocations: 61.69 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1394, allocations: 334.8 kB / 334.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.1397, allocations: 104 kB / 334.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.1399, allocations: 139.2 kB / 334.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.1403, allocations: 227.7 kB / 334.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1403, allocations: 0 / 334.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000584/0.1409, allocations: 309.2 kB / 335.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1409, allocations: 4 kB / 335.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.1409, allocations: 4 kB / 335.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1409, allocations: 0 / 335.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.1411, allocations: 36.02 kB / 335.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1411, allocations: 3.984 kB / 335.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.1412, allocations: 19.84 kB / 335.1 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1412, allocations: 12 kB / 335.1 MB, free: 11.98 MB / 286.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.0001528/0.1414, allocations: 145.7 kB / 335.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.1414, allocations: 15.81 kB / 335.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.1415, allocations: 25.39 kB / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1415, allocations: 0 / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1415, allocations: 0 / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1415, allocations: 7.938 kB / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.1417, allocations: 217.4 kB / 335.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1417, allocations: 0 / 335.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.1418, allocations: 19.92 kB / 335.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1418, allocations: 0 / 335.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1418, allocations: 4 kB / 335.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1418, allocations: 3.938 kB / 335.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1419, allocations: 4 kB / 335.6 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.1423, allocations: 238.5 kB / 335.8 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.1423, allocations: 96.86 kB / 335.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.1424, allocations: 11.98 kB / 335.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-05/0.1425, allocations: 4 kB / 335.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.1426, allocations: 24 kB / 335.9 MB, free: 11.08 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1426, allocations: 11.92 kB / 336 MB, free: 11.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1427, allocations: 141.2 kB / 336.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1427, allocations: 4 kB / 336.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005317/0.1433, allocations: 119.8 kB / 336.2 MB, free: 10.82 MB / 286.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.00091/0.1442, allocations: 349.5 kB / 336.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004445/0.1446, allocations: 203.7 kB / 336.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1447, allocations: 0 / 336.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1448, allocations: 63.97 kB / 336.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.145, allocations: 11.98 kB / 336.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.1456, allocations: 321.8 kB / 337.1 MB, free: 9.855 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.146, allocations: 0.724 MB / 337.9 MB, free: 9.105 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.1461, allocations: 21.41 kB / 337.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.1461, allocations: 15.44 kB / 337.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1461, allocations: 0 / 337.9 MB, free: 9.066 MB / 286.1 MB Notification: Performance of Templates: time 0.007794/0.1539, allocations: 3.484 MB / 341.4 MB, free: 5.578 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches