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.00168/0.00168, allocations: 114.6 kB / 17.07 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.001815/0.001815, allocations: 193.4 kB / 18 MB, free: 5.074 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.622/1.622, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 43.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3378, allocations: 49.45 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002357/0.3402, allocations: 0.8841 MB / 401.1 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007305/0.3409, allocations: 260.3 kB / 401.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.3411, allocations: 2.281 kB / 401.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.3412, allocations: 7.922 kB / 401.4 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.3413, allocations: 10.06 kB / 401.4 MB, free: 7.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.3419, allocations: 94.06 kB / 401.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.3421, allocations: 46.25 kB / 401.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3422, allocations: 19.02 kB / 401.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.3423, allocations: 21.44 kB / 401.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.448e-05/0.3423, allocations: 17.73 kB / 401.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.3424, allocations: 3.188 kB / 401.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.3425, allocations: 47.28 kB / 401.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.3426, allocations: 20.77 kB / 401.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.3427, allocations: 30.03 kB / 401.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3429, allocations: 98.64 kB / 401.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3429, allocations: 0 / 401.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3429, allocations: 0 / 401.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3429, allocations: 0 / 401.8 MB, free: 7.281 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.0006572/0.3436, allocations: 387 kB / 402.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.3437, allocations: 12.03 kB / 402.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.3437, allocations: 42.67 kB / 402.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.3438, allocations: 12.84 kB / 402.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.3442, allocations: 204.2 kB / 402.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3442, allocations: 4.375 kB / 402.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3442, allocations: 4.375 kB / 402.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.3446, allocations: 153.5 kB / 402.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3446, allocations: 3.938 kB / 402.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3446, allocations: 4 kB / 402.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3446, allocations: 3.984 kB / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.549e-05/0.3447, allocations: 23.92 kB / 402.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.3451, allocations: 273.7 kB / 402.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3452, allocations: 42.56 kB / 402.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.3453, allocations: 28.89 kB / 403 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/0.3461, allocations: 0.5778 MB / 403.5 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.3461, allocations: 30.56 kB / 403.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/0.3461, allocations: 3.938 kB / 403.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000252/0.3464, allocations: 93.52 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.3464, allocations: 59.41 kB / 403.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3466, allocations: 149 kB / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3466, allocations: 25.7 kB / 403.9 MB, free: 4.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.3467, allocations: 92.14 kB / 404 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.3467, allocations: 7.938 kB / 404 MB, free: 4.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.3468, allocations: 21.72 kB / 404 MB, free: 4.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3469, allocations: 326.8 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.347, allocations: 27.98 kB / 404.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.3471, allocations: 58.17 kB / 404.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.3472, allocations: 77.94 kB / 404.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3472, allocations: 0 / 404.5 MB, free: 4.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001643/0.3474, allocations: 117.4 kB / 404.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3474, allocations: 6.719 kB / 404.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3474, allocations: 7.984 kB / 404.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.3474, allocations: 4 kB / 404.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3475, allocations: 12 kB / 404.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3476, allocations: 7.984 kB / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.249e-05/0.3476, allocations: 7.953 kB / 404.7 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3476, allocations: 7.938 kB / 404.7 MB, free: 3.992 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.0001575/0.3478, allocations: 141.6 kB / 404.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3479, allocations: 69.7 kB / 404.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.3481, allocations: 86.33 kB / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3481, allocations: 0 / 405 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3481, allocations: 4 kB / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3481, allocations: 3.984 kB / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.3483, allocations: 173.6 kB / 405.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.3483, allocations: 4.188 kB / 405.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.3484, allocations: 11.98 kB / 405.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3484, allocations: 3.938 kB / 405.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.3484, allocations: 0 / 405.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3484, allocations: 0 / 405.2 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3484, allocations: 4 kB / 405.2 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.3485, allocations: 97.02 kB / 405.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/0.3486, allocations: 101 kB / 405.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.3487, allocations: 4 kB / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.3487, allocations: 0 / 405.4 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.3487, allocations: 4 kB / 405.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3487, allocations: 0 / 405.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.3488, allocations: 122.1 kB / 405.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3488, allocations: 4 kB / 405.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.3491, allocations: 20 kB / 405.5 MB, free: 3.047 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.0006233/0.3497, allocations: 0.6671 MB / 406.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.3499, allocations: 64.55 kB / 406.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3499, allocations: 0 / 406.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.879e-06/0.3499, allocations: 3.938 kB / 406.2 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3503, allocations: 81.72 kB / 406.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.3519, allocations: 1.461 MB / 407.8 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.3523, allocations: 0.7078 MB / 408.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.126e-05/0.3524, allocations: 12.66 kB / 408.5 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.3524, allocations: 19.44 kB / 408.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3524, allocations: 0 / 408.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.3797, allocations: 2.591 MB / 411.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/8.631, allocations: 12.3 kB / 411.1 MB, free: 13.37 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