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/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/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.001551/0.001551, allocations: 180.5 kB / 17.46 MB, free: 4.363 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.806/2.806, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.001715/0.001715, allocations: 93.08 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1032/0.1032, allocations: 12.2 MB / 332.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000695/0.0006951, allocations: 16 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1161, allocations: 50.29 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.493/0.6091, allocations: 78.02 MB / 0.5088 GB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000405/0.6096, allocations: 86.95 kB / 0.5089 GB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01273/0.6224, allocations: 3.461 MB / 0.5123 GB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.41e-06/0.6225, allocations: 0 / 0.5123 GB, free: 11.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.143e-05/0.6225, allocations: 0 / 0.5123 GB, free: 11.97 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.0005823/0.6231, allocations: 393.7 kB / 0.5127 GB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.6232, allocations: 11.53 kB / 0.5127 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.6233, allocations: 8.812 kB / 0.5127 GB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.6236, allocations: 195.1 kB / 0.5129 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.6236, allocations: 4.312 kB / 0.5129 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.6236, allocations: 4.219 kB / 0.5129 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.6241, allocations: 158 kB / 0.513 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.6241, allocations: 3.938 kB / 0.513 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.6241, allocations: 3.938 kB / 0.513 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.6241, allocations: 0 / 0.513 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.6242, allocations: 30.27 kB / 0.5131 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.6246, allocations: 273.1 kB / 0.5133 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.6248, allocations: 49.52 kB / 0.5134 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.6249, allocations: 26.89 kB / 0.5134 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006273/0.6255, allocations: 0.5726 MB / 0.5139 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.6256, allocations: 34.56 kB / 0.514 GB, free: 10.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.6256, allocations: 0 / 0.514 GB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002758/0.6259, allocations: 85.23 kB / 0.5141 GB, free: 10.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.6259, allocations: 58.41 kB / 0.5141 GB, free: 10.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.6261, allocations: 155.3 kB / 0.5143 GB, free: 9.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.6261, allocations: 25.7 kB / 0.5143 GB, free: 9.934 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.6262, allocations: 86.2 kB / 0.5144 GB, free: 9.852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.6262, allocations: 7.562 kB / 0.5144 GB, free: 9.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.6262, allocations: 2.562 kB / 0.5144 GB, free: 9.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.6263, allocations: 329.7 kB / 0.5147 GB, free: 9.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.6264, allocations: 17.92 kB / 0.5147 GB, free: 9.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.6264, allocations: 60.66 kB / 0.5148 GB, free: 9.461 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.6266, allocations: 79.56 kB / 0.5148 GB, free: 9.391 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6266, allocations: 3.875 kB / 0.5148 GB, free: 9.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002177/0.6268, allocations: 113.7 kB / 0.515 GB, free: 9.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6268, allocations: 4.469 kB / 0.515 GB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6269, allocations: 7.906 kB / 0.515 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6269, allocations: 0 / 0.515 GB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.627, allocations: 19.28 kB / 0.515 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.627, allocations: 12.19 kB / 0.515 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.6271, allocations: 3.984 kB / 0.515 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.6271, allocations: 11.73 kB / 0.515 GB, free: 9.309 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.0001285/0.6273, allocations: 137.5 kB / 0.5151 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.6274, allocations: 81.5 kB / 0.5152 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.6276, allocations: 83.45 kB / 0.5153 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.6276, allocations: 0 / 0.5153 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.6276, allocations: 0 / 0.5153 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6277, allocations: 0 / 0.5153 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.6278, allocations: 180.1 kB / 0.5155 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6278, allocations: 0 / 0.5155 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.6279, allocations: 3.844 kB / 0.5155 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6279, allocations: 0 / 0.5155 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.6279, allocations: 7.812 kB / 0.5155 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6279, allocations: 0 / 0.5155 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6279, allocations: 0 / 0.5155 GB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.6281, allocations: 106 kB / 0.5156 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.6282, allocations: 96.72 kB / 0.5157 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.6282, allocations: 3.844 kB / 0.5157 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.581e-05/0.6283, allocations: 0 / 0.5157 GB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-06/0.6283, allocations: 3.938 kB / 0.5157 GB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.6283, allocations: 7.812 kB / 0.5157 GB, free: 8.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.809e-05/0.6284, allocations: 116.6 kB / 0.5158 GB, free: 8.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6284, allocations: 0 / 0.5158 GB, free: 8.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004271/0.6289, allocations: 19.38 kB / 0.5158 GB, free: 8.598 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.0002407/0.6291, allocations: 110.4 kB / 0.5159 GB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.6293, allocations: 53.53 kB / 0.516 GB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6293, allocations: 448 / 0.516 GB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.6294, allocations: 4 kB / 0.516 GB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.6299, allocations: 84.97 kB / 0.5161 GB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.6304, allocations: 219.7 kB / 0.5163 GB, free: 8.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.6306, allocations: 0.7036 MB / 0.517 GB, free: 7.531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.6306, allocations: 11.28 kB / 0.517 GB, free: 7.523 MB / 330.7 MB Notification: Performance of SimCode: time 6.92e-07/0.6306, allocations: 3.812 kB / 0.517 GB, free: 7.523 MB / 330.7 MB Notification: Performance of Templates: time 0.004297/0.6349, allocations: 1.263 MB / 0.5182 GB, free: 6.891 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