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.001798/0.001797, allocations: 177.8 kB / 16.77 MB, free: 4.926 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.553/1.553, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007221/0.0007222, allocations: 93.28 kB / 271.3 MB, free: 8.238 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.06962/0.06962, allocations: 12.59 MB / 332.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 19.98 kB / 392.6 MB, free: 66.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08059/0.08102, allocations: 50.36 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.00101/0.08206, allocations: 0.5871 MB / 443.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004179/0.08249, allocations: 231.4 kB / 443.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/0.08258, allocations: 3.938 kB / 443.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.08262, allocations: 8 kB / 443.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.08275, allocations: 11.92 kB / 443.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.08312, allocations: 79.86 kB / 443.9 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.686e-05/0.08321, allocations: 43.84 kB / 443.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.0833, allocations: 8 kB / 443.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.805e-05/0.08334, allocations: 19.92 kB / 443.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.08341, allocations: 31.78 kB / 444 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.08343, allocations: 0 / 444 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.08352, allocations: 31.97 kB / 444 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.08357, allocations: 19.92 kB / 444 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.08361, allocations: 49.52 kB / 444.1 MB, free: 15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.08372, allocations: 63.88 kB / 444.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.08373, allocations: 0 / 444.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.08374, allocations: 0 / 444.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.08374, allocations: 0 / 444.1 MB, free: 14.93 MB / 298.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.0003758/0.08412, allocations: 375.5 kB / 444.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.08417, allocations: 8.031 kB / 444.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.0842, allocations: 8.844 kB / 444.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.08436, allocations: 204 kB / 444.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.08438, allocations: 384 / 444.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.0844, allocations: 12.31 kB / 444.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.08465, allocations: 149.5 kB / 444.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.08467, allocations: 192 / 444.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.08469, allocations: 7.922 kB / 444.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.0847, allocations: 4 kB / 444.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4e-05/0.08475, allocations: 19.92 kB / 444.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000236/0.08499, allocations: 273.7 kB / 445.2 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.745e-05/0.08507, allocations: 46.52 kB / 445.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.08511, allocations: 28.83 kB / 445.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/0.08557, allocations: 0.5817 MB / 445.8 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.0856, allocations: 34.5 kB / 445.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.08561, allocations: 4 kB / 445.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000169/0.08578, allocations: 81.59 kB / 446 MB, free: 12.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.08582, allocations: 55.41 kB / 446 MB, free: 12.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.08593, allocations: 153.7 kB / 446.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.08594, allocations: 25.7 kB / 446.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.793e-05/0.08597, allocations: 96.12 kB / 446.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.086, allocations: 3.906 kB / 446.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.08601, allocations: 7.938 kB / 446.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.08606, allocations: 326.8 kB / 446.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.0861, allocations: 19.98 kB / 446.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.08614, allocations: 66 kB / 446.7 MB, free: 12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.08621, allocations: 77.88 kB / 446.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.08622, allocations: 0 / 446.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001201/0.08634, allocations: 117.6 kB / 446.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.08637, allocations: 8.625 kB / 446.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.08637, allocations: 0 / 446.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.0864, allocations: 4 kB / 446.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.08648, allocations: 12 kB / 446.9 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.08649, allocations: 7.938 kB / 446.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.08653, allocations: 3.938 kB / 446.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.08655, allocations: 8.125 kB / 446.9 MB, free: 11.74 MB / 298.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 9.218e-05/0.08664, allocations: 146.3 kB / 447.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.752e-05/0.08673, allocations: 73.69 kB / 447.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/0.08687, allocations: 90.23 kB / 447.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.08689, allocations: 3.984 kB / 447.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.08691, allocations: 0 / 447.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.08692, allocations: 0 / 447.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.08703, allocations: 181.6 kB / 447.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.08704, allocations: 0 / 447.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.08708, allocations: 7.984 kB / 447.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.08709, allocations: 0 / 447.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.0871, allocations: 0 / 447.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.08711, allocations: 4 kB / 447.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.08711, allocations: 4 kB / 447.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.55e-05/0.08722, allocations: 96.91 kB / 447.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.08727, allocations: 96.98 kB / 447.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.0873, allocations: 8 kB / 447.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.08732, allocations: 0 / 447.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-06/0.08733, allocations: 0 / 447.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.08735, allocations: 0 / 447.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.782e-05/0.08741, allocations: 123.2 kB / 447.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08742, allocations: 0 / 447.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.08762, allocations: 16 kB / 447.8 MB, free: 10.8 MB / 298.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.0001414/0.08777, allocations: 107.2 kB / 447.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.0879, allocations: 51.92 kB / 447.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.08791, allocations: 3.938 kB / 447.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.08791, allocations: 448 / 447.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.08827, allocations: 93.89 kB / 448 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.08857, allocations: 216.9 kB / 448.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.08872, allocations: 0.6965 MB / 448.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.08874, allocations: 27.36 kB / 448.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.08875, allocations: 0 / 448.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of Templates: time 0.00232/0.09108, allocations: 1.255 MB / 450.2 MB, free: 8.281 MB / 298.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/jenkins/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