Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001702/0.00171, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001979/0.001979, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.89 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3633, allocations: 50.55 MB / 408.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002442/0.3658, allocations: 0.8589 MB / 409.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006536/0.3665, allocations: 255.1 kB / 409.9 MB, free: 388 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.3666, allocations: 0 / 409.9 MB, free: 388 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.431e-05/0.3667, allocations: 7.922 kB / 409.9 MB, free: 380 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.3668, allocations: 11.88 kB / 409.9 MB, free: 368 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.3673, allocations: 99.77 kB / 410 MB, free: 268 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.3675, allocations: 43.86 kB / 410 MB, free: 224 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3676, allocations: 19.98 kB / 410.1 MB, free: 204 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/0.3676, allocations: 23.86 kB / 410.1 MB, free: 180 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.601e-05/0.3677, allocations: 19.86 kB / 410.1 MB, free: 160 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.3677, allocations: 4 kB / 410.1 MB, free: 156 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3678, allocations: 39.95 kB / 410.1 MB, free: 116 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.3679, allocations: 23.92 kB / 410.2 MB, free: 92 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.368, allocations: 23.81 kB / 410.2 MB, free: 68 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3682, allocations: 96.8 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3682, allocations: 0 / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3682, allocations: 3.938 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.3682, allocations: 4 kB / 410.3 MB, free: 15.96 MB / 334.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.0005184/0.3687, allocations: 379.8 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3688, allocations: 12.03 kB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.3688, allocations: 42.61 kB / 410.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.3689, allocations: 12.75 kB / 410.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.3692, allocations: 196.1 kB / 410.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3692, allocations: 8.375 kB / 410.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.3692, allocations: 8.375 kB / 410.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.3695, allocations: 149.5 kB / 411.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3695, allocations: 3.938 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3695, allocations: 0 / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3695, allocations: 0 / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/0.3696, allocations: 27.98 kB / 411.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.3699, allocations: 281.6 kB / 411.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.37, allocations: 38.58 kB / 411.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.3701, allocations: 24.89 kB / 411.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/0.3707, allocations: 0.5817 MB / 412 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.3707, allocations: 34.55 kB / 412.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3707, allocations: 0 / 412.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.000208/0.3709, allocations: 93.58 kB / 412.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.371, allocations: 59.41 kB / 412.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3711, allocations: 153.3 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3712, allocations: 29.7 kB / 412.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.3712, allocations: 88.14 kB / 412.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.3712, allocations: 11.83 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.3713, allocations: 25.72 kB / 412.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3714, allocations: 326.8 kB / 412.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.3714, allocations: 19.98 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.311e-05/0.3715, allocations: 65.94 kB / 412.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.899e-05/0.3716, allocations: 77.94 kB / 413 MB, free: 12.85 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3716, allocations: 4 kB / 413 MB, free: 12.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001521/0.3718, allocations: 113.4 kB / 413.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3718, allocations: 4 kB / 413.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.3718, allocations: 192 / 413.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3718, allocations: 4.219 kB / 413.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.262e-05/0.3719, allocations: 23.94 kB / 413.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3719, allocations: 0 / 413.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.03e-05/0.372, allocations: 11.84 kB / 413.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.372, allocations: 11.94 kB / 413.2 MB, free: 12.67 MB / 334.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.000107/0.3721, allocations: 133.7 kB / 413.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.3722, allocations: 65.59 kB / 413.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.3723, allocations: 90.31 kB / 413.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3724, allocations: 0 / 413.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3724, allocations: 8 kB / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3724, allocations: 0 / 413.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.3725, allocations: 173.6 kB / 413.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.3725, allocations: 4 kB / 413.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.3725, allocations: 4 kB / 413.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3726, allocations: 3.938 kB / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3726, allocations: 0 / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3726, allocations: 0 / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3726, allocations: 0 / 413.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.3727, allocations: 108.9 kB / 413.7 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.3728, allocations: 97 kB / 413.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3728, allocations: 0 / 413.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.458e-05/0.3728, allocations: 4 kB / 413.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.3728, allocations: 4 kB / 413.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.3729, allocations: 0 / 413.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.301e-05/0.3729, allocations: 123.1 kB / 414 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3729, allocations: 0 / 414 MB, free: 11.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.3732, allocations: 16 kB / 414 MB, free: 11.74 MB / 334.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.0005404/0.3737, allocations: 0.6789 MB / 414.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.3739, allocations: 51.95 kB / 414.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3739, allocations: 0 / 414.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.3739, allocations: 4.375 kB / 414.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3743, allocations: 91.98 kB / 414.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3756, allocations: 1.459 MB / 416.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3759, allocations: 0.7005 MB / 417 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.268e-05/0.3759, allocations: 8.656 kB / 417 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.376, allocations: 15.44 kB / 417 MB, free: 8.555 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.376, allocations: 4 kB / 417 MB, free: 8.551 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.3966, allocations: 2.626 MB / 419.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/8.749, allocations: 9.25 kB / 419.6 MB, free: 6.027 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches