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.001382/0.001382, allocations: 175.3 kB / 16.45 MB, free: 5.684 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.297/1.297, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0006961/0.0006962, allocations: 99.02 kB / 270.9 MB, free: 8.348 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.06633/0.06633, allocations: 12.59 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 16 kB / 392 MB, free: 66.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0681/0.06849, allocations: 50.37 MB / 442.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.0009153/0.06945, allocations: 0.5749 MB / 442.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004176/0.06988, allocations: 259.3 kB / 443.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.06996, allocations: 3.938 kB / 443.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.06999, allocations: 3.938 kB / 443.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.07012, allocations: 7.984 kB / 443.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.07045, allocations: 79.86 kB / 443.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.058e-05/0.07054, allocations: 43.84 kB / 443.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.07062, allocations: 12 kB / 443.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.688e-05/0.07066, allocations: 15.92 kB / 443.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.07071, allocations: 27.78 kB / 443.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.07073, allocations: 0 / 443.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.07082, allocations: 35.97 kB / 443.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.07086, allocations: 19.92 kB / 443.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.0709, allocations: 37.64 kB / 443.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.803e-05/0.07099, allocations: 55.89 kB / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.071, allocations: 0 / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.07101, allocations: 0 / 443.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.07102, allocations: 0 / 443.5 MB, free: 15.27 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.0003432/0.07137, allocations: 371.3 kB / 443.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.0714, allocations: 12.02 kB / 443.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.07144, allocations: 11.91 kB / 443.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.0716, allocations: 190.8 kB / 444.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.07162, allocations: 12 kB / 444.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.07163, allocations: 3.938 kB / 444.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.07186, allocations: 153 kB / 444.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.07189, allocations: 0 / 444.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.0719, allocations: 0 / 444.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.07191, allocations: 3.984 kB / 444.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.07196, allocations: 23.92 kB / 444.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.07218, allocations: 277.7 kB / 444.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.072e-05/0.07226, allocations: 46.56 kB / 444.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.0723, allocations: 20.89 kB / 444.6 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004872/0.07279, allocations: 0.5856 MB / 445.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.07282, allocations: 42.44 kB / 445.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.07283, allocations: 0 / 445.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000165/0.073, allocations: 81.59 kB / 445.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.07304, allocations: 59.34 kB / 445.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.07316, allocations: 150.3 kB / 445.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.07318, allocations: 25.7 kB / 445.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.283e-05/0.07321, allocations: 88.33 kB / 445.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.07323, allocations: 11.89 kB / 445.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.07324, allocations: 4 kB / 445.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.07328, allocations: 326.8 kB / 446 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.07331, allocations: 15.98 kB / 446 MB, free: 12.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.07336, allocations: 69.92 kB / 446.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.0734, allocations: 31.98 kB / 446.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.07341, allocations: 0 / 446.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001215/0.07354, allocations: 109.4 kB / 446.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.07356, allocations: 4 kB / 446.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.07357, allocations: 4 kB / 446.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.07358, allocations: 224 / 446.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.07366, allocations: 23.98 kB / 446.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.07368, allocations: 0 / 446.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.07372, allocations: 7.938 kB / 446.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.07373, allocations: 11.94 kB / 446.3 MB, free: 12.15 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 7.342e-05/0.07381, allocations: 141.4 kB / 446.4 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.07388, allocations: 69.5 kB / 446.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.07401, allocations: 86.39 kB / 446.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.07402, allocations: 8 kB / 446.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.07403, allocations: 0 / 446.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.07404, allocations: 0 / 446.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.206e-05/0.07411, allocations: 173.6 kB / 446.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.07412, allocations: 0 / 446.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.07415, allocations: 7.984 kB / 446.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.07416, allocations: 0 / 446.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.07417, allocations: 192 / 446.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.07418, allocations: 0 / 446.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.07419, allocations: 3.938 kB / 446.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.215e-05/0.07428, allocations: 101.2 kB / 446.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.07433, allocations: 93 kB / 446.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.07435, allocations: 7.984 kB / 446.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.308e-05/0.07438, allocations: 0 / 446.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-06/0.07439, allocations: 0 / 446.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.0744, allocations: 8 kB / 447 MB, free: 11.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.065e-05/0.07446, allocations: 119.8 kB / 447.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07446, allocations: 0 / 447.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.07467, allocations: 12 kB / 447.1 MB, free: 11.23 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.0001143/0.0748, allocations: 107.2 kB / 447.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.07491, allocations: 51.92 kB / 447.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.07492, allocations: 3.938 kB / 447.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.07492, allocations: 0 / 447.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.07525, allocations: 83.25 kB / 447.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.07553, allocations: 229.2 kB / 447.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.07565, allocations: 0.7083 MB / 448.3 MB, free: 9.977 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.07567, allocations: 11.44 kB / 448.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.07568, allocations: 0 / 448.3 MB, free: 9.969 MB / 298.7 MB Notification: Performance of Templates: time 0.002586/0.07827, allocations: 1.238 MB / 449.5 MB, free: 8.734 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