Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.002251/0.002252, allocations: 179.4 kB / 8.407 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.3 MB / 214.1 MB, free: 1.734 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.001107/0.001107, allocations: 86.7 kB / 262.2 MB, free: 1.68 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.102/0.102, allocations: 12.6 MB / 322.7 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.102e-05, allocations: 0 / 378.9 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3166, allocations: 50.38 MB / 429.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.4553, allocations: 77.28 MB / 0.4947 GB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.4557, allocations: 75.95 kB / 0.4948 GB, free: 4.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0135/0.4692, allocations: 2.899 MB / 0.4976 GB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4692, allocations: 0 / 0.4976 GB, free: 2.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.4693, allocations: 8 kB / 0.4976 GB, free: 2.047 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.0005365/0.4698, allocations: 362.3 kB / 0.4979 GB, free: 1.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4699, allocations: 8.031 kB / 0.498 GB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.4699, allocations: 15.81 kB / 0.498 GB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.4703, allocations: 199.8 kB / 0.4982 GB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.4703, allocations: 4 kB / 0.4982 GB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4703, allocations: 0 / 0.4982 GB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001062/0.4704, allocations: 27.98 kB / 0.4982 GB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.4708, allocations: 144.9 kB / 0.4983 GB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4708, allocations: 0 / 0.4983 GB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4708, allocations: 0 / 0.4983 GB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4708, allocations: 0 / 0.4983 GB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.4712, allocations: 246.3 kB / 0.4986 GB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.4713, allocations: 46.5 kB / 0.4986 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.4714, allocations: 20.86 kB / 0.4986 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008564/0.4723, allocations: 0.5818 MB / 0.4992 GB, free: 132 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4723, allocations: 34.55 kB / 0.4992 GB, free: 88 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.4723, allocations: 0 / 0.4992 GB, free: 88 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002655/0.4726, allocations: 69.59 kB / 0.4993 GB, free: 12 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.4727, allocations: 55.39 kB / 0.4994 GB, free: 15.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.4729, allocations: 127.7 kB / 0.4995 GB, free: 15.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.4729, allocations: 25.7 kB / 0.4995 GB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.473, allocations: 158.5 kB / 0.4996 GB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.4731, allocations: 15.92 kB / 0.4997 GB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-06/0.4731, allocations: 0 / 0.4997 GB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4732, allocations: 314.8 kB / 0.5 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.4733, allocations: 19.94 kB / 0.5 GB, free: 15.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.4734, allocations: 58 kB / 0.5 GB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.4735, allocations: 33.19 kB / 0.5001 GB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4735, allocations: 0 / 0.5001 GB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/0.4738, allocations: 97.45 kB / 0.5002 GB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4738, allocations: 8.219 kB / 0.5002 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4738, allocations: 4 kB / 0.5002 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.4739, allocations: 4 kB / 0.5002 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.474, allocations: 19.92 kB / 0.5002 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.474, allocations: 7.984 kB / 0.5002 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.19e-05/0.4741, allocations: 4 kB / 0.5002 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.4741, allocations: 4 kB / 0.5002 GB, free: 15.01 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 0.0001196/0.4743, allocations: 111.4 kB / 0.5003 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.4744, allocations: 77.59 kB / 0.5004 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.4747, allocations: 90.41 kB / 0.5005 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.4747, allocations: 0 / 0.5005 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4748, allocations: 0 / 0.5005 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4748, allocations: 0 / 0.5005 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.4749, allocations: 166 kB / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.4749, allocations: 0 / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.475, allocations: 4 kB / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.475, allocations: 0 / 0.5006 GB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.4751, allocations: 3.984 kB / 0.5006 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4751, allocations: 4 kB / 0.5006 GB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4751, allocations: 4 kB / 0.5007 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.4753, allocations: 92.97 kB / 0.5007 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.4754, allocations: 96.95 kB / 0.5008 GB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.4754, allocations: 7.984 kB / 0.5008 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-05/0.4755, allocations: 0 / 0.5008 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-06/0.4755, allocations: 0 / 0.5008 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.4755, allocations: 0 / 0.5008 GB, free: 14.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.4757, allocations: 112 kB / 0.5009 GB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4757, allocations: 0 / 0.5009 GB, free: 14.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.476, allocations: 12 kB / 0.501 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.0002186/0.4762, allocations: 107.2 kB / 0.5011 GB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.4764, allocations: 43.92 kB / 0.5011 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4764, allocations: 0 / 0.5011 GB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.4764, allocations: 4 kB / 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.0004329/0.4769, allocations: 81.47 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.0004396/0.4773, allocations: 161.7 kB / 0.5013 GB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4777, allocations: 0.7002 MB / 0.502 GB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.4778, allocations: 11.44 kB / 0.502 GB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4778, allocations: 0 / 0.502 GB, free: 12.98 MB / 362.7 MB Notification: Performance of Templates: time 0.004115/0.4819, allocations: 1.216 MB / 0.5032 GB, free: 11.77 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches