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.001185/0.001185, allocations: 174.1 kB / 16.8 MB, free: 5.008 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.486/1.486, allocations: 205.4 MB / 222.9 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.0007607/0.0007608, allocations: 96.64 kB / 271.3 MB, free: 8.25 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.08028/0.08028, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005183, allocations: 12 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08856/0.0891, allocations: 50.37 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.001014/0.09016, allocations: 0.6065 MB / 444.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004739/0.09065, allocations: 239.3 kB / 444.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.09073, allocations: 3.938 kB / 444.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.09077, allocations: 3.984 kB / 444.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.0909, allocations: 7.938 kB / 444.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.09124, allocations: 91.84 kB / 444.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.09134, allocations: 39.86 kB / 444.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.09143, allocations: 15.98 kB / 444.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.09146, allocations: 11.94 kB / 444.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.09153, allocations: 27.78 kB / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.09155, allocations: 0 / 444.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.988e-05/0.09164, allocations: 39.97 kB / 444.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.0917, allocations: 19.92 kB / 444.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.09174, allocations: 57.44 kB / 444.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.927e-05/0.09184, allocations: 59.83 kB / 444.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.09185, allocations: 0 / 444.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09185, allocations: 0 / 444.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.09186, allocations: 4 kB / 444.9 MB, free: 14.2 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.0003491/0.09222, allocations: 379.5 kB / 445.3 MB, free: 13.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.09226, allocations: 8.031 kB / 445.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.09229, allocations: 8.844 kB / 445.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.09246, allocations: 208 kB / 445.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.09248, allocations: 384 / 445.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.0925, allocations: 4.375 kB / 445.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.09275, allocations: 149.6 kB / 445.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.09276, allocations: 4.125 kB / 445.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.09278, allocations: 7.938 kB / 445.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.09279, allocations: 4 kB / 445.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.09284, allocations: 19.98 kB / 445.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.09306, allocations: 273.6 kB / 445.9 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.798e-05/0.09314, allocations: 50.44 kB / 446 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.09318, allocations: 20.86 kB / 446 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/0.09366, allocations: 0.5857 MB / 446.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.09369, allocations: 34.56 kB / 446.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.0937, allocations: 0 / 446.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001617/0.09387, allocations: 85.58 kB / 446.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.0939, allocations: 59.34 kB / 446.8 MB, free: 12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.094, allocations: 161.7 kB / 446.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.09401, allocations: 25.7 kB / 447 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.09405, allocations: 88.14 kB / 447 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.09407, allocations: 11.84 kB / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.09407, allocations: 0 / 447.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.09412, allocations: 330.8 kB / 447.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.09416, allocations: 15.98 kB / 447.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.0942, allocations: 69.94 kB / 447.5 MB, free: 11.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.121e-05/0.09426, allocations: 81.88 kB / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.09427, allocations: 0 / 447.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001146/0.09439, allocations: 109.4 kB / 447.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.09441, allocations: 8 kB / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.09442, allocations: 0 / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.09444, allocations: 4 kB / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.987e-05/0.09451, allocations: 20.14 kB / 447.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.09453, allocations: 8 kB / 447.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.09456, allocations: 8 kB / 447.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.09458, allocations: 4 kB / 447.7 MB, free: 11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/0.09467, allocations: 126.6 kB / 447.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.09475, allocations: 77.59 kB / 447.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.09488, allocations: 86.3 kB / 448 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.09489, allocations: 0 / 448 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.0949, allocations: 4 kB / 448 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.09491, allocations: 4 kB / 448 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.416e-05/0.09498, allocations: 177.5 kB / 448.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.09499, allocations: 0 / 448.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.09503, allocations: 4 kB / 448.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.09504, allocations: 4 kB / 448.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.09505, allocations: 0 / 448.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.09505, allocations: 4.172 kB / 448.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.09506, allocations: 0 / 448.2 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.189e-05/0.09516, allocations: 108.9 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.09521, allocations: 97 kB / 448.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.09523, allocations: 0 / 448.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.292e-05/0.09526, allocations: 0 / 448.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-06/0.09527, allocations: 0 / 448.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.09529, allocations: 7.984 kB / 448.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.112e-05/0.09534, allocations: 119.2 kB / 448.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09535, allocations: 0 / 448.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.09555, allocations: 16 kB / 448.5 MB, free: 10.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001216/0.09567, allocations: 111.4 kB / 448.6 MB, free: 9.949 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.09578, allocations: 55.84 kB / 448.7 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.09579, allocations: 0 / 448.7 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.0958, allocations: 0 / 448.7 MB, free: 9.895 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.09613, allocations: 83.33 kB / 448.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.09643, allocations: 241.2 kB / 449 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.09656, allocations: 0.7004 MB / 449.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.09658, allocations: 11.44 kB / 449.7 MB, free: 8.801 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.09659, allocations: 0 / 449.7 MB, free: 8.801 MB / 298.7 MB Notification: Performance of Templates: time 0.002229/0.09882, allocations: 1.274 MB / 451 MB, free: 7.527 MB / 298.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