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.001043/0.001043, allocations: 91.95 kB / 17.3 MB, free: 5.988 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.00135/0.00135, allocations: 173.3 kB / 18.2 MB, free: 5.398 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.679/1.679, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004583/0.0004584, allocations: 15.98 kB / 281.5 MB, free: 3.312 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1018, allocations: 47.58 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001582/0.1034, allocations: 1.213 MB / 330.3 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1045, allocations: 0.5819 MB / 330.9 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.1046, allocations: 0 / 330.9 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.534e-05/0.1047, allocations: 7.938 kB / 330.9 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.1048, allocations: 15.84 kB / 330.9 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.1052, allocations: 131.8 kB / 331 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1054, allocations: 103.7 kB / 331.1 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.1054, allocations: 9.125 kB / 331.1 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.338e-05/0.1055, allocations: 43.83 kB / 331.2 MB, free: 1.547 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.1056, allocations: 63.62 kB / 331.2 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1056, allocations: 4 kB / 331.2 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.1058, allocations: 111.9 kB / 331.3 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.1059, allocations: 31.84 kB / 331.4 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.1059, allocations: 77.36 kB / 331.4 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.1062, allocations: 207.7 kB / 331.6 MB, free: 1.055 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1062, allocations: 4 kB / 331.6 MB, free: 1.051 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1062, allocations: 0 / 331.6 MB, free: 1.051 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1062, allocations: 0 / 331.6 MB, free: 1.051 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.0006193/0.1068, allocations: 438.9 kB / 332.1 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1069, allocations: 8.031 kB / 332.1 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.107, allocations: 38.73 kB / 332.1 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.1073, allocations: 44.73 kB / 332.2 MB, free: 484 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1074, allocations: 204 kB / 332.4 MB, free: 240 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.1075, allocations: 8.375 kB / 332.4 MB, free: 232 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.1075, allocations: 12.34 kB / 332.4 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.1077, allocations: 115.3 kB / 332.5 MB, free: 96 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1077, allocations: 7.938 kB / 332.5 MB, free: 88 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1077, allocations: 8 kB / 332.5 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1078, allocations: 3.938 kB / 332.5 MB, free: 76 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.1079, allocations: 67.89 kB / 332.6 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.1086, allocations: 464.7 kB / 333 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.109, allocations: 141.2 kB / 333.2 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1091, allocations: 57.77 kB / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1091, allocations: 0 / 333.2 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.1094, allocations: 160.9 kB / 333.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.1094, allocations: 0 / 333.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005171/0.11, allocations: 245.4 kB / 333.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.11, allocations: 93.09 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1102, allocations: 170.4 kB / 333.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.1103, allocations: 49.67 kB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.1103, allocations: 112.5 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.1104, allocations: 39.55 kB / 334.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.1104, allocations: 33.7 kB / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1106, allocations: 338.8 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.1108, allocations: 100.5 kB / 334.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.111, allocations: 131.5 kB / 334.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.1113, allocations: 226.9 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1113, allocations: 0 / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004808/0.1118, allocations: 297.3 kB / 335.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1118, allocations: 8 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1119, allocations: 0 / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1119, allocations: 0 / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.112, allocations: 35.92 kB / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.112, allocations: 480 / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.1121, allocations: 39.72 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1122, allocations: 8 kB / 335.3 MB, free: 13.13 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.0001323/0.1123, allocations: 149.7 kB / 335.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1123, allocations: 19.89 kB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.1124, allocations: 9.406 kB / 335.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1124, allocations: 4 kB / 335.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1124, allocations: 4 kB / 335.5 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.1124, allocations: 3.984 kB / 335.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.1126, allocations: 205.5 kB / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1126, allocations: 0 / 335.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.1126, allocations: 11.98 kB / 335.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1126, allocations: 0 / 335.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1127, allocations: 4 kB / 335.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1127, allocations: 0 / 335.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1127, allocations: 0 / 335.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.113, allocations: 241.5 kB / 335.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.1131, allocations: 96.86 kB / 336 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.1131, allocations: 7.984 kB / 336 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/0.1132, allocations: 12 kB / 336 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.1133, allocations: 11.98 kB / 336 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1133, allocations: 4 kB / 336 MB, free: 12.26 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.733e-05/0.1134, allocations: 123.2 kB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1134, allocations: 0 / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1137, allocations: 59.88 kB / 336.2 MB, free: 12.08 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.001176/0.1149, allocations: 0.942 MB / 337.2 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.1153, allocations: 211.7 kB / 337.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1153, allocations: 0 / 337.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1155, allocations: 55.98 kB / 337.4 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.1156, allocations: 15.92 kB / 337.4 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.1181, allocations: 2.144 MB / 339.6 MB, free: 8.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1184, allocations: 0.708 MB / 340.3 MB, free: 7.855 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.852e-05/0.1185, allocations: 24.95 kB / 340.3 MB, free: 7.832 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.1185, allocations: 39.42 kB / 340.4 MB, free: 7.793 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1186, allocations: 4 kB / 340.4 MB, free: 7.789 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1584/0.277, allocations: 3.424 MB / 343.8 MB, free: 4.359 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/0.2773, allocations: 248.3 kB / 344 MB, free: 4.098 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.309, allocations: 0 / 344 MB, free: 4.098 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