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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Distributions,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 112.4 kB / 17.28 MB, free: 6.199 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.001443/0.001443, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.781/1.781, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001237/0.001237, allocations: 51.92 kB / 280.2 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.125, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.003371/0.1284, allocations: 1.607 MB / 328.5 MB, free: 3.074 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.131, allocations: 1.47 MB / 330 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.1311, allocations: 0 / 330 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1313, allocations: 3.938 kB / 330 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.1314, allocations: 23.86 kB / 330 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1324, allocations: 347.2 kB / 330.3 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.1326, allocations: 135.6 kB / 330.5 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.442e-05/0.1326, allocations: 5.5 kB / 330.5 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.1327, allocations: 55.77 kB / 330.5 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.1328, allocations: 71.61 kB / 330.6 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.1328, allocations: 16 kB / 330.6 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006825/0.1335, allocations: 459.1 kB / 331 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.1336, allocations: 35.86 kB / 331.1 MB, free: 468 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.199e-05/0.1337, allocations: 63.58 kB / 331.1 MB, free: 404 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.1343, allocations: 423.2 kB / 331.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1343, allocations: 0 / 331.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1343, allocations: 0 / 331.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1343, allocations: 0 / 331.6 MB, free: 15.98 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.0007652/0.1351, allocations: 0.5181 MB / 332.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1351, allocations: 12.03 kB / 332.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.1352, allocations: 34.69 kB / 332.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.1354, allocations: 44.66 kB / 332.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.1356, allocations: 208.9 kB / 332.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.1357, allocations: 4.375 kB / 332.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1357, allocations: 8.375 kB / 332.4 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.136, allocations: 140.3 kB / 332.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.136, allocations: 0 / 332.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.136, allocations: 3.938 kB / 332.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1361, allocations: 4 kB / 332.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.1363, allocations: 59.95 kB / 332.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.1371, allocations: 0.5671 MB / 333.2 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.1375, allocations: 151.9 kB / 333.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.1376, allocations: 62.61 kB / 333.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1376, allocations: 4 kB / 333.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003348/0.138, allocations: 153.8 kB / 333.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.943e-06/0.138, allocations: 4 kB / 333.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006027/0.1386, allocations: 253.3 kB / 333.8 MB, free: 13.54 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.1387, allocations: 110.8 kB / 333.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1389, allocations: 218.8 kB / 334.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.139, allocations: 45.69 kB / 334.1 MB, free: 13.13 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.1391, allocations: 108.5 kB / 334.2 MB, free: 13.02 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.1391, allocations: 43.53 kB / 334.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.1392, allocations: 57.7 kB / 334.3 MB, free: 12.92 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1394, allocations: 334.8 kB / 334.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1396, allocations: 103.9 kB / 334.8 MB, free: 12.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1398, allocations: 139.2 kB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.1402, allocations: 227.7 kB / 335.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1402, allocations: 4 kB / 335.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000503/0.1407, allocations: 305.2 kB / 335.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1408, allocations: 4 kB / 335.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1408, allocations: 4 kB / 335.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1408, allocations: 0 / 335.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.141, allocations: 35.97 kB / 335.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.141, allocations: 3.938 kB / 335.5 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/0.1411, allocations: 23.88 kB / 335.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1411, allocations: 15.98 kB / 335.5 MB, free: 11.7 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,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],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]) * 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.0001525/0.1413, allocations: 133.8 kB / 335.6 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.1413, allocations: 23.8 kB / 335.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.1414, allocations: 13.41 kB / 335.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1414, allocations: 0 / 335.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.1414, allocations: 4 kB / 335.7 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.1414, allocations: 7.938 kB / 335.7 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1416, allocations: 233.3 kB / 335.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1417, allocations: 0 / 335.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.1417, allocations: 8 kB / 335.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1417, allocations: 8 kB / 335.9 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1417, allocations: 3.984 kB / 335.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1418, allocations: 7.938 kB / 335.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1418, allocations: 96 / 335.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.1422, allocations: 245.6 kB / 336.2 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.1422, allocations: 92.91 kB / 336.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.1423, allocations: 8 kB / 336.3 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.1424, allocations: 11.98 kB / 336.3 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.1424, allocations: 15.92 kB / 336.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1424, allocations: 8 kB / 336.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1426, allocations: 141.2 kB / 336.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1426, allocations: 0 / 336.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.143, allocations: 124 kB / 336.6 MB, free: 10.54 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,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.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.0017/0.1447, allocations: 1.077 MB / 337.7 MB, free: 9.434 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.1452, allocations: 207.7 kB / 337.9 MB, free: 9.23 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1452, allocations: 0 / 337.9 MB, free: 9.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1453, allocations: 72.09 kB / 337.9 MB, free: 9.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1456, allocations: 15.92 kB / 337.9 MB, free: 9.145 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.1484, allocations: 2.341 MB / 340.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.1488, allocations: 0.7162 MB / 341 MB, free: 5.953 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.1489, allocations: 29.39 kB / 341 MB, free: 5.922 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.149, allocations: 47.42 kB / 341.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.149, allocations: 3.938 kB / 341.1 MB, free: 5.871 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.1739, allocations: 5.404 MB / 346.5 MB, free: 456 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.1742, allocations: 246.4 kB / 346.7 MB, free: 192 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.322, allocations: 0 / 346.7 MB, free: 192 kB / 286.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Distributions.fmu > 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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches