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.001256/0.001256, allocations: 103.3 kB / 18.35 MB, free: 4.633 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.00131/0.00131, allocations: 192 kB / 19.29 MB, free: 3.703 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.49/1.49, allocations: 205.1 MB / 225.2 MB, free: 12.28 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.001199/0.001199, allocations: 51.92 kB / 282.1 MB, free: 2.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1142, allocations: 46.63 MB / 328.7 MB, free: 3.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003109/0.1173, allocations: 1.522 MB / 330.2 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1199, allocations: 1.462 MB / 331.7 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.344e-05/0.12, allocations: 4 kB / 331.7 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.1201, allocations: 11.86 kB / 331.7 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.1202, allocations: 19.73 kB / 331.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1214, allocations: 394.8 kB / 332.1 MB, free: 368 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1215, allocations: 131.7 kB / 332.3 MB, free: 236 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.594e-05/0.1216, allocations: 5.5 kB / 332.3 MB, free: 228 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.1217, allocations: 59.66 kB / 332.3 MB, free: 168 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.1218, allocations: 67.67 kB / 332.4 MB, free: 100 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1218, allocations: 12 kB / 332.4 MB, free: 88 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006412/0.1225, allocations: 427.3 kB / 332.8 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/0.1225, allocations: 35.84 kB / 332.9 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.476e-05/0.1226, allocations: 71.59 kB / 332.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.1232, allocations: 414.9 kB / 333.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1232, allocations: 0 / 333.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1232, allocations: 0 / 333.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1232, allocations: 4 kB / 333.3 MB, free: 15.15 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008546/0.1241, allocations: 0.5065 MB / 333.8 MB, free: 14.6 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1241, allocations: 8.031 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.1244, allocations: 32.64 kB / 333.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1246, allocations: 208.8 kB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1247, allocations: 8.359 kB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1247, allocations: 8.375 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.125, allocations: 124.5 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.125, allocations: 4 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.125, allocations: 4 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.125, allocations: 0 / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1252, allocations: 67.88 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008108/0.1261, allocations: 0.5477 MB / 334.8 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.1264, allocations: 151.7 kB / 335 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.1265, allocations: 66.61 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.1266, allocations: 0 / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.1269, allocations: 154 kB / 335.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.1269, allocations: 0 / 335.2 MB, free: 13.06 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005763/0.1275, allocations: 261.8 kB / 335.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.1276, allocations: 114.8 kB / 335.6 MB, free: 12.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1278, allocations: 195 kB / 335.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.1279, allocations: 45.69 kB / 335.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.538e-05/0.1279, allocations: 120.4 kB / 335.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.128, allocations: 43.48 kB / 336 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.431e-05/0.1281, allocations: 65.75 kB / 336 MB, free: 12.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1283, allocations: 338.8 kB / 336.4 MB, free: 11.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.1285, allocations: 95.95 kB / 336.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.1287, allocations: 139.2 kB / 336.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.1291, allocations: 231.7 kB / 336.8 MB, free: 11.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1291, allocations: 3.938 kB / 336.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005125/0.1296, allocations: 309.2 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1296, allocations: 11.38 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1297, allocations: 4 kB / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1297, allocations: 0 / 337.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1298, allocations: 31.92 kB / 337.2 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1298, allocations: 0 / 337.2 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.481e-05/0.1299, allocations: 23.83 kB / 337.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.13, allocations: 12 kB / 337.2 MB, free: 10.96 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.0001339/0.1301, allocations: 149.7 kB / 337.4 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.1301, allocations: 15.81 kB / 337.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.1302, allocations: 21.39 kB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1302, allocations: 0 / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1302, allocations: 4 kB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1302, allocations: 0 / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1304, allocations: 213.4 kB / 337.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1304, allocations: 96 / 337.6 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.1305, allocations: 19.92 kB / 337.6 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1305, allocations: 7.984 kB / 337.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1305, allocations: 4 kB / 337.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1305, allocations: 0 / 337.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1306, allocations: 4 kB / 337.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.1309, allocations: 230.5 kB / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.131, allocations: 104.8 kB / 338 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.1311, allocations: 8 kB / 338 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.1311, allocations: 7.984 kB / 338 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.1312, allocations: 15.98 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1312, allocations: 7.938 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1313, allocations: 141.2 kB / 338.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.883e-06/0.1314, allocations: 0 / 338.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.1318, allocations: 123.9 kB / 338.3 MB, free: 9.809 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.0007122/0.1325, allocations: 349 kB / 338.6 MB, free: 9.469 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.1329, allocations: 207.7 kB / 338.8 MB, free: 9.266 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1329, allocations: 0 / 338.8 MB, free: 9.266 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.1331, allocations: 71.84 kB / 338.9 MB, free: 9.195 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.1333, allocations: 8.25 kB / 338.9 MB, free: 9.188 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.1338, allocations: 292.9 kB / 339.2 MB, free: 8.867 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1342, allocations: 0.7162 MB / 339.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.137e-05/0.1343, allocations: 25.41 kB / 339.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.1343, allocations: 19.42 kB / 339.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1343, allocations: 0 / 339.9 MB, free: 8.078 MB / 286.1 MB Notification: Performance of Templates: time 0.008481/0.1428, allocations: 3.619 MB / 343.6 MB, free: 4.457 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches