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.001526/0.001526, allocations: 185.7 kB / 16.44 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 222.6 MB, free: 9.129 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.001197/0.001197, allocations: 84.38 kB / 270.9 MB, free: 8.379 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.0999/0.0999, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005515, allocations: 12 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08663/0.08721, allocations: 50.37 MB / 442.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5093, allocations: 78.03 MB / 0.5082 GB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.5096, allocations: 84.27 kB / 0.5083 GB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01174/0.5213, allocations: 2.927 MB / 0.5111 GB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5214, allocations: 0 / 0.5111 GB, free: 11.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5214, allocations: 11.91 kB / 0.5111 GB, free: 11.96 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.0004197/0.5218, allocations: 378.2 kB / 0.5115 GB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.5219, allocations: 7.688 kB / 0.5115 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.5219, allocations: 10.78 kB / 0.5115 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.5222, allocations: 202 kB / 0.5117 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.5222, allocations: 7.75 kB / 0.5117 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.5222, allocations: 0 / 0.5117 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.5225, allocations: 152.8 kB / 0.5119 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.5226, allocations: 0 / 0.5119 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.5226, allocations: 0 / 0.5119 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5226, allocations: 3.844 kB / 0.5119 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.266e-05/0.5227, allocations: 21.02 kB / 0.5119 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.523, allocations: 284.6 kB / 0.5121 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.5231, allocations: 36.72 kB / 0.5122 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/0.5237, allocations: 0.5834 MB / 0.5128 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.5238, allocations: 34.56 kB / 0.5128 GB, free: 10.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.5238, allocations: 0 / 0.5128 GB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002681/0.5241, allocations: 165.2 kB / 0.5129 GB, free: 10.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.5241, allocations: 58.38 kB / 0.513 GB, free: 10 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.5243, allocations: 134.5 kB / 0.5131 GB, free: 9.895 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.5243, allocations: 25.7 kB / 0.5132 GB, free: 9.863 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.5243, allocations: 157.9 kB / 0.5133 GB, free: 9.715 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.5244, allocations: 3.906 kB / 0.5133 GB, free: 9.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.5244, allocations: 3.938 kB / 0.5133 GB, free: 9.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.5244, allocations: 326.6 kB / 0.5136 GB, free: 9.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.5245, allocations: 22.36 kB / 0.5136 GB, free: 9.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.255e-05/0.5246, allocations: 60.44 kB / 0.5137 GB, free: 9.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.854e-05/0.5246, allocations: 35.58 kB / 0.5137 GB, free: 9.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5247, allocations: 0 / 0.5137 GB, free: 9.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.5248, allocations: 101.4 kB / 0.5138 GB, free: 9.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.5249, allocations: 7.938 kB / 0.5138 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5249, allocations: 4.031 kB / 0.5138 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5249, allocations: 11.92 kB / 0.5139 GB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.5251, allocations: 23.03 kB / 0.5139 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5251, allocations: 0 / 0.5139 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.5251, allocations: 7.719 kB / 0.5139 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5252, allocations: 7.406 kB / 0.5139 GB, free: 9.238 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 0.0001058/0.5253, allocations: 132.6 kB / 0.514 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.5254, allocations: 74.34 kB / 0.5141 GB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.5256, allocations: 87.23 kB / 0.5142 GB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5256, allocations: 4 kB / 0.5142 GB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5256, allocations: 0 / 0.5142 GB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.5256, allocations: 7.953 kB / 0.5142 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.749e-05/0.5258, allocations: 168 kB / 0.5143 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.5258, allocations: 3.844 kB / 0.5143 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.5258, allocations: 7.766 kB / 0.5144 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.5258, allocations: 0.8125 kB / 0.5144 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.5259, allocations: 0 / 0.5144 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5259, allocations: 3.938 kB / 0.5144 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5259, allocations: 0 / 0.5144 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.526, allocations: 114.9 kB / 0.5145 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.5261, allocations: 92.44 kB / 0.5146 GB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.5262, allocations: 11.98 kB / 0.5146 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.539e-05/0.5262, allocations: 0 / 0.5146 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-06/0.5262, allocations: 0 / 0.5146 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.5262, allocations: 3.5 kB / 0.5146 GB, free: 8.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.5263, allocations: 113.7 kB / 0.5147 GB, free: 8.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5263, allocations: 0 / 0.5147 GB, free: 8.527 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.5267, allocations: 15.06 kB / 0.5147 GB, free: 8.527 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.0001619/0.5268, allocations: 109.6 kB / 0.5148 GB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.527, allocations: 52.23 kB / 0.5148 GB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.527, allocations: 0 / 0.5148 GB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.527, allocations: 0 / 0.5148 GB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.5274, allocations: 82.98 kB / 0.5149 GB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.5278, allocations: 225.2 kB / 0.5151 GB, free: 8.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.528, allocations: 0.7035 MB / 0.5158 GB, free: 7.469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.528, allocations: 11.28 kB / 0.5158 GB, free: 7.461 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.528, allocations: 0 / 0.5158 GB, free: 7.461 MB / 330.7 MB Notification: Performance of Templates: time 0.003395/0.5314, allocations: 1.243 MB / 0.5171 GB, free: 6.844 MB / 330.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