Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.00097/0.00097, allocations: 104.6 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.001045/0.001045, 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.39/1.39, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001112/0.001112, allocations: 55.86 kB / 280.1 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.08968, allocations: 46.62 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002541/0.09225, allocations: 1.552 MB / 328.2 MB, free: 3.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.09337, allocations: 0.5936 MB / 328.8 MB, free: 2.621 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.09343, allocations: 0 / 328.8 MB, free: 2.621 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.09356, allocations: 3.938 kB / 328.8 MB, free: 2.617 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.134e-05/0.09363, allocations: 19.86 kB / 328.9 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.09409, allocations: 127.8 kB / 329 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.09423, allocations: 107.7 kB / 329.1 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.09428, allocations: 9.125 kB / 329.1 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.09434, allocations: 43.83 kB / 329.1 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.09441, allocations: 51.7 kB / 329.2 MB, free: 2.266 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.09444, allocations: 8 kB / 329.2 MB, free: 2.258 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.09465, allocations: 119.8 kB / 329.3 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.09471, allocations: 27.86 kB / 329.3 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.09477, allocations: 59.59 kB / 329.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.09504, allocations: 207.7 kB / 329.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.09505, allocations: 0 / 329.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.09506, allocations: 0 / 329.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09507, allocations: 0 / 329.6 MB, free: 1.852 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005929/0.09566, allocations: 458.8 kB / 330.1 MB, free: 1.352 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.09571, allocations: 12.03 kB / 330.1 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.09577, allocations: 38.73 kB / 330.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.09608, allocations: 48.72 kB / 330.2 MB, free: 1.246 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.09624, allocations: 204 kB / 330.4 MB, free: 1.008 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.09626, allocations: 4.375 kB / 330.4 MB, free: 1.004 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.09629, allocations: 8.375 kB / 330.4 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.09651, allocations: 111.9 kB / 330.5 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.09653, allocations: 7.922 kB / 330.5 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.09655, allocations: 7.984 kB / 330.5 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.09656, allocations: 4 kB / 330.5 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.09674, allocations: 55.91 kB / 330.6 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006351/0.09738, allocations: 452.7 kB / 331 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.09768, allocations: 129.2 kB / 331.1 MB, free: 164 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.0978, allocations: 57.75 kB / 331.2 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.09782, allocations: 4 kB / 331.2 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.09812, allocations: 148.9 kB / 331.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.09813, allocations: 0 / 331.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004789/0.09861, allocations: 229.4 kB / 331.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.09868, allocations: 93.09 kB / 331.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.09883, allocations: 186.3 kB / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.09888, allocations: 45.69 kB / 331.9 MB, free: 15.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.09894, allocations: 108.5 kB / 332 MB, free: 15.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.09898, allocations: 43.53 kB / 332 MB, free: 15.2 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.09907, allocations: 49.94 kB / 332.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.09917, allocations: 334.8 kB / 332.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.09935, allocations: 96.47 kB / 332.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.09956, allocations: 135.5 kB / 332.6 MB, free: 14.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.09989, allocations: 214.9 kB / 332.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.09991, allocations: 0 / 332.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004481/0.1004, allocations: 297.2 kB / 333.1 MB, free: 14.05 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1004, allocations: 8 kB / 333.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1004, allocations: 0 / 333.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1004, allocations: 0 / 333.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1006, allocations: 27.92 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1006, allocations: 4 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.1007, allocations: 19.83 kB / 333.2 MB, free: 13.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.1007, allocations: 11.94 kB / 333.2 MB, free: 13.98 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001214/0.1008, allocations: 153.8 kB / 333.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1008, allocations: 15.81 kB / 333.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.1009, allocations: 9.406 kB / 333.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1009, allocations: 8.078 kB / 333.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1009, allocations: 0 / 333.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1009, allocations: 3.938 kB / 333.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1011, allocations: 213.5 kB / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1011, allocations: 0 / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.1011, allocations: 8 kB / 333.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1012, allocations: 4 kB / 333.6 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1012, allocations: 7.984 kB / 333.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1012, allocations: 4 kB / 333.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1012, allocations: 4 kB / 333.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.1015, allocations: 221.5 kB / 333.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.1016, allocations: 92.92 kB / 333.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1016, allocations: 8 kB / 333.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.1017, allocations: 11.98 kB / 333.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.1017, allocations: 7.984 kB / 333.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.1018, allocations: 4 kB / 333.9 MB, free: 13.12 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.114e-05/0.1019, allocations: 123.2 kB / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1019, allocations: 0 / 334.1 MB, free: 13 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1021, allocations: 59.86 kB / 334.1 MB, free: 12.94 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0009968/0.1031, allocations: 0.9473 MB / 335.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.1035, allocations: 187.8 kB / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1035, allocations: 4.125 kB / 335.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1037, allocations: 55.98 kB / 335.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.1039, allocations: 11.98 kB / 335.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.1061, allocations: 2.127 MB / 337.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1064, allocations: 0.7118 MB / 338.2 MB, free: 8.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.1065, allocations: 20.81 kB / 338.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.1065, allocations: 39.42 kB / 338.2 MB, free: 8.691 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1065, allocations: 0 / 338.2 MB, free: 8.691 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.1194, allocations: 3.543 MB / 341.8 MB, free: 5.117 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.1196, allocations: 249.1 kB / 342 MB, free: 4.855 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/1.863, allocations: 0 / 342 MB, free: 4.855 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches