Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_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.001676/0.001676, allocations: 105.8 kB / 17.06 MB, free: 6.016 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.002081/0.002082, allocations: 195 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3154, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002521/0.318, allocations: 0.8819 MB / 401.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000714/0.3187, allocations: 257.5 kB / 401.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3189, allocations: 0.9688 kB / 401.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.866e-05/0.319, allocations: 13.14 kB / 401.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.3191, allocations: 5.312 kB / 401.4 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005269/0.3197, allocations: 95.62 kB / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3198, allocations: 56.94 kB / 401.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3199, allocations: 15.52 kB / 401.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.32, allocations: 13.75 kB / 401.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.3201, allocations: 21.02 kB / 401.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.3201, allocations: 3.469 kB / 401.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3202, allocations: 43.91 kB / 401.6 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.3203, allocations: 24.45 kB / 401.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.3204, allocations: 26.19 kB / 401.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.3206, allocations: 95.47 kB / 401.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3206, allocations: 0 / 401.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3206, allocations: 0 / 401.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3206, allocations: 3.938 kB / 401.8 MB, free: 7.293 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005532/0.3212, allocations: 384.8 kB / 402.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3212, allocations: 12.03 kB / 402.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.3213, allocations: 34.73 kB / 402.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3213, allocations: 12.84 kB / 402.2 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.3216, allocations: 216 kB / 402.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3216, allocations: 4.375 kB / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3216, allocations: 4.375 kB / 402.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.3219, allocations: 149.5 kB / 402.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.322, allocations: 3.938 kB / 402.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.322, allocations: 7.984 kB / 402.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.322, allocations: 4 kB / 402.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.3221, allocations: 23.92 kB / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.3224, allocations: 269.7 kB / 402.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.3225, allocations: 42.56 kB / 402.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.3226, allocations: 28.89 kB / 403 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/0.3233, allocations: 0.5817 MB / 403.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.3233, allocations: 34.5 kB / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.3233, allocations: 0 / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000218/0.3236, allocations: 89.58 kB / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.3236, allocations: 59.41 kB / 403.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3238, allocations: 145.6 kB / 403.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3238, allocations: 25.7 kB / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.3239, allocations: 92.14 kB / 404 MB, free: 4.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.3239, allocations: 15.83 kB / 404 MB, free: 4.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.324, allocations: 21.72 kB / 404 MB, free: 4.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3241, allocations: 326.8 kB / 404.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/0.3241, allocations: 23.98 kB / 404.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.895e-05/0.3242, allocations: 61.94 kB / 404.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3243, allocations: 77.94 kB / 404.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3243, allocations: 4 kB / 404.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000167/0.3245, allocations: 109.6 kB / 404.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3245, allocations: 8 kB / 404.6 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3245, allocations: 7.984 kB / 404.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3246, allocations: 0 / 404.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.3246, allocations: 16 kB / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3247, allocations: 0 / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.3247, allocations: 7.906 kB / 404.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3247, allocations: 11.94 kB / 404.6 MB, free: 4.008 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * 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.0001109/0.3248, allocations: 133.4 kB / 404.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.325, allocations: 69.66 kB / 404.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.3251, allocations: 94.27 kB / 404.9 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3252, allocations: 4 kB / 404.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3252, allocations: 0 / 404.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3252, allocations: 3.984 kB / 404.9 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.3253, allocations: 169.6 kB / 405.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.3253, allocations: 4 kB / 405.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.3254, allocations: 7.984 kB / 405.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3254, allocations: 0 / 405.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.3254, allocations: 3.938 kB / 405.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3254, allocations: 4.188 kB / 405.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3254, allocations: 4.234 kB / 405.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.3255, allocations: 108.8 kB / 405.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.3256, allocations: 104.9 kB / 405.3 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3257, allocations: 0 / 405.3 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.3257, allocations: 4 kB / 405.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-06/0.3257, allocations: 0 / 405.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.3257, allocations: 0 / 405.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.3258, allocations: 123.2 kB / 405.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3258, allocations: 0 / 405.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.3261, allocations: 16 kB / 405.5 MB, free: 3.062 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * 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.0005902/0.3267, allocations: 0.6672 MB / 406.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.3268, allocations: 64.22 kB / 406.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3268, allocations: 0 / 406.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.3268, allocations: 0 / 406.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.3272, allocations: 85.62 kB / 406.3 MB, free: 2.215 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3286, allocations: 1.459 MB / 407.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3289, allocations: 0.7078 MB / 408.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.125e-05/0.329, allocations: 12.66 kB / 408.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.329, allocations: 15.62 kB / 408.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.329, allocations: 0 / 408.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.3486, allocations: 2.632 MB / 411.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.24, allocations: 12.55 kB / 411.1 MB, free: 13.35 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches