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.0009795/0.0009794, allocations: 171.8 kB / 16.8 MB, free: 5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 223 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007829/0.0007831, allocations: 86.42 kB / 271.3 MB, free: 8.246 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.08367/0.08367, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 19.94 kB / 393.2 MB, free: 65.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0703/0.07067, allocations: 50.37 MB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2808/0.3515, allocations: 78.05 MB / 0.5094 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3518, allocations: 78.59 kB / 0.5095 GB, free: 13.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00696/0.3588, allocations: 2.941 MB / 0.5124 GB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3589, allocations: 0 / 0.5124 GB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3589, allocations: 0 / 0.5124 GB, free: 12.37 MB / 330.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.000391/0.3593, allocations: 385.6 kB / 0.5127 GB, free: 11.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3593, allocations: 11.5 kB / 0.5128 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.3594, allocations: 8.688 kB / 0.5128 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.3596, allocations: 203.1 kB / 0.513 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3596, allocations: 4.312 kB / 0.513 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3597, allocations: 4.219 kB / 0.513 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.36, allocations: 153 kB / 0.5131 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.36, allocations: 192 / 0.5131 GB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.36, allocations: 3.938 kB / 0.5131 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.36, allocations: 0 / 0.5131 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.062e-05/0.3601, allocations: 22.11 kB / 0.5131 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.3605, allocations: 271 kB / 0.5134 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.527e-05/0.3606, allocations: 48.89 kB / 0.5134 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.3606, allocations: 27.55 kB / 0.5135 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004371/0.3611, allocations: 0.5762 MB / 0.514 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3611, allocations: 34.38 kB / 0.5141 GB, free: 10.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.933e-06/0.3611, allocations: 4 kB / 0.5141 GB, free: 10.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001927/0.3613, allocations: 86 kB / 0.5141 GB, free: 10.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3613, allocations: 55.39 kB / 0.5142 GB, free: 10.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3614, allocations: 152.8 kB / 0.5143 GB, free: 10.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.3615, allocations: 25.7 kB / 0.5144 GB, free: 10.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.3615, allocations: 91.62 kB / 0.5145 GB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.3615, allocations: 7.594 kB / 0.5145 GB, free: 10.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.3615, allocations: 0 / 0.5145 GB, free: 10.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.442e-05/0.3616, allocations: 334.5 kB / 0.5148 GB, free: 9.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.3616, allocations: 22.2 kB / 0.5148 GB, free: 9.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.323e-05/0.3617, allocations: 56.91 kB / 0.5149 GB, free: 9.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.283e-05/0.3618, allocations: 85.19 kB / 0.5149 GB, free: 9.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3618, allocations: 0 / 0.5149 GB, free: 9.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001241/0.3619, allocations: 112.1 kB / 0.515 GB, free: 9.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3619, allocations: 7.688 kB / 0.5151 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3619, allocations: 0 / 0.5151 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3619, allocations: 3.844 kB / 0.5151 GB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.362, allocations: 19.16 kB / 0.5151 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.362, allocations: 0.875 kB / 0.5151 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.61e-05/0.3621, allocations: 7.672 kB / 0.5151 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3621, allocations: 7.281 kB / 0.5151 GB, free: 9.719 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/0.3622, allocations: 131.6 kB / 0.5152 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.047e-05/0.3623, allocations: 78.61 kB / 0.5153 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.3624, allocations: 87.05 kB / 0.5154 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3624, allocations: 0 / 0.5154 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3625, allocations: 0.875 kB / 0.5154 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3625, allocations: 3.797 kB / 0.5154 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.232e-05/0.3626, allocations: 180 kB / 0.5156 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3626, allocations: 3.812 kB / 0.5156 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.3626, allocations: 3.875 kB / 0.5156 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3626, allocations: 0 / 0.5156 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.3626, allocations: 15.69 kB / 0.5156 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3626, allocations: 192 / 0.5156 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3627, allocations: 3.938 kB / 0.5156 GB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.3628, allocations: 106.6 kB / 0.5157 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.3628, allocations: 92.66 kB / 0.5158 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3629, allocations: 3.812 kB / 0.5158 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/0.3629, allocations: 0 / 0.5158 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-06/0.3629, allocations: 0 / 0.5158 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3629, allocations: 4 kB / 0.5158 GB, free: 9.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.016e-05/0.363, allocations: 120.6 kB / 0.5159 GB, free: 9 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.363, allocations: 0 / 0.5159 GB, free: 9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.3632, allocations: 18.91 kB / 0.5159 GB, free: 9 MB / 330.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 () * 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 (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.0001534/0.3634, allocations: 102.9 kB / 0.516 GB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.3635, allocations: 57.31 kB / 0.5161 GB, free: 8.891 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3635, allocations: 448 / 0.5161 GB, free: 8.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.3635, allocations: 4 kB / 0.5161 GB, free: 8.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.3639, allocations: 86.95 kB / 0.5161 GB, free: 8.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.3642, allocations: 193.1 kB / 0.5163 GB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.3644, allocations: 0.6998 MB / 0.517 GB, free: 7.973 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.027e-05/0.3644, allocations: 8.5 kB / 0.517 GB, free: 7.965 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.3644, allocations: 11.41 kB / 0.517 GB, free: 7.957 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3644, allocations: 0 / 0.517 GB, free: 7.957 MB / 330.7 MB Notification: Performance of Templates: time 0.003323/0.3678, allocations: 1.196 MB / 0.5182 GB, free: 7.359 MB / 330.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/jenkins1/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