Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009758/0.0009759, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.3 MB / 213.8 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008048/0.0008048, allocations: 82.36 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06899/0.06899, allocations: 12.59 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.299e-05, allocations: 4 kB / 378.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2235, allocations: 50.38 MB / 429.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0961/0.3197, allocations: 77.27 MB / 0.4947 GB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.32, allocations: 83.94 kB / 0.4948 GB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008006/0.3281, allocations: 2.907 MB / 0.4976 GB, free: 1.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3281, allocations: 3.938 kB / 0.4976 GB, free: 1.988 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3281, allocations: 4 kB / 0.4976 GB, free: 1.984 MB / 346.7 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.0003696/0.3285, allocations: 362.3 kB / 0.498 GB, free: 1.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3285, allocations: 12.03 kB / 0.498 GB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.3286, allocations: 11.81 kB / 0.498 GB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3288, allocations: 203.8 kB / 0.4982 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.3288, allocations: 4 kB / 0.4982 GB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.3288, allocations: 4 kB / 0.4982 GB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.652e-05/0.3289, allocations: 20 kB / 0.4982 GB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.3292, allocations: 141 kB / 0.4984 GB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3292, allocations: 4 kB / 0.4984 GB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3292, allocations: 0 / 0.4984 GB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3292, allocations: 0 / 0.4984 GB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.3295, allocations: 242.3 kB / 0.4986 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.659e-05/0.3296, allocations: 46.52 kB / 0.4986 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.012e-05/0.3297, allocations: 24.86 kB / 0.4987 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/0.3302, allocations: 0.574 MB / 0.4992 GB, free: 76 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3303, allocations: 34.55 kB / 0.4993 GB, free: 32 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3303, allocations: 4 kB / 0.4993 GB, free: 28 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002064/0.3305, allocations: 73.69 kB / 0.4993 GB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3305, allocations: 55.41 kB / 0.4994 GB, free: 15.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3307, allocations: 123.7 kB / 0.4995 GB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3307, allocations: 25.7 kB / 0.4995 GB, free: 15.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.3308, allocations: 96.03 kB / 0.4996 GB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.3308, allocations: 11.94 kB / 0.4996 GB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.3308, allocations: 0 / 0.4996 GB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3309, allocations: 326.8 kB / 0.4999 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.331, allocations: 19.94 kB / 0.5 GB, free: 15.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.331, allocations: 58 kB / 0.5 GB, free: 15.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.3311, allocations: 29.19 kB / 0.5 GB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3311, allocations: 4 kB / 0.5 GB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001372/0.3312, allocations: 101.4 kB / 0.5001 GB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3312, allocations: 4.188 kB / 0.5001 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3312, allocations: 0 / 0.5001 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3313, allocations: 7.938 kB / 0.5002 GB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.3314, allocations: 24.14 kB / 0.5002 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3314, allocations: 4 kB / 0.5002 GB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/0.3314, allocations: 7.906 kB / 0.5002 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3314, allocations: 4 kB / 0.5002 GB, free: 15 MB / 362.7 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 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.677e-05/0.3315, allocations: 115.4 kB / 0.5003 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3316, allocations: 65.53 kB / 0.5004 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.3318, allocations: 82.3 kB / 0.5004 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3318, allocations: 0 / 0.5004 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3318, allocations: 7.984 kB / 0.5005 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3318, allocations: 0 / 0.5005 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.89e-05/0.3319, allocations: 158 kB / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3319, allocations: 4 kB / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.332, allocations: 4 kB / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.332, allocations: 0 / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.332, allocations: 3.984 kB / 0.5006 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.332, allocations: 0 / 0.5006 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.332, allocations: 0 / 0.5006 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.3321, allocations: 96.97 kB / 0.5007 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.3322, allocations: 101 kB / 0.5008 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.3322, allocations: 3.984 kB / 0.5008 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.308e-05/0.3323, allocations: 4 kB / 0.5008 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-06/0.3323, allocations: 4 kB / 0.5008 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3323, allocations: 0 / 0.5008 GB, free: 14.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.267e-05/0.3324, allocations: 108 kB / 0.5009 GB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3324, allocations: 0 / 0.5009 GB, free: 14.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000201/0.3326, allocations: 16 kB / 0.5009 GB, free: 14.15 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.3327, allocations: 111.2 kB / 0.501 GB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.937e-05/0.3328, allocations: 43.92 kB / 0.5011 GB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3329, allocations: 0 / 0.5011 GB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.3329, allocations: 0 / 0.5011 GB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3332, allocations: 81.03 kB / 0.5012 GB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.3335, allocations: 127.9 kB / 0.5013 GB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3338, allocations: 0.7123 MB / 0.502 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.524e-05/0.3338, allocations: 4 kB / 0.502 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.3338, allocations: 11.44 kB / 0.502 GB, free: 13 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3338, allocations: 0 / 0.502 GB, free: 13 MB / 362.7 MB Notification: Performance of Templates: time 0.003135/0.337, allocations: 1.111 MB / 0.5031 GB, free: 11.89 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches