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.002873/0.002879, allocations: 188.1 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.031/4.031, allocations: 205.4 MB / 222.6 MB, free: 13.83 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.00243/0.00243, allocations: 90.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1935/0.1935, allocations: 12.6 MB / 331.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00098/0.0009805, allocations: 20.3 kB / 392 MB, free: 54.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1584, allocations: 50.37 MB / 442.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.001788/0.1603, allocations: 0.5823 MB / 442.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1614, allocations: 243.3 kB / 443.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.1616, allocations: 7.938 kB / 443.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.097e-05/0.1617, allocations: 0 / 443.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.1619, allocations: 11.98 kB / 443.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007804/0.1627, allocations: 79.73 kB / 443.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1629, allocations: 31.91 kB / 443.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.163, allocations: 11.98 kB / 443.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.1631, allocations: 15.94 kB / 443.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.1632, allocations: 19.84 kB / 443.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.1632, allocations: 0 / 443.3 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1634, allocations: 35.97 kB / 443.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.9e-05/0.1635, allocations: 19.97 kB / 443.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.1635, allocations: 37.64 kB / 443.4 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1637, allocations: 51.89 kB / 443.5 MB, free: 10.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1638, allocations: 4 kB / 443.5 MB, free: 10.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1638, allocations: 0 / 443.5 MB, free: 10.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1638, allocations: 0 / 443.5 MB, free: 10.47 MB / 282.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.0006592/0.1645, allocations: 379.8 kB / 443.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.1646, allocations: 8.031 kB / 443.9 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.1647, allocations: 11.84 kB / 443.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.165, allocations: 202.8 kB / 444.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.165, allocations: 0 / 444.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1651, allocations: 4 kB / 444.1 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.1657, allocations: 156.9 kB / 444.2 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.1657, allocations: 0 / 444.2 MB, free: 9.617 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1658, allocations: 7.938 kB / 444.2 MB, free: 9.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1658, allocations: 3.984 kB / 444.2 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1659, allocations: 20 kB / 444.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.1665, allocations: 277.6 kB / 444.5 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1667, allocations: 42.56 kB / 444.6 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.1679, allocations: 0.5857 MB / 445.2 MB, free: 8.496 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.168, allocations: 30.56 kB / 445.2 MB, free: 8.457 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 7.845e-06/0.168, allocations: 4 kB / 445.2 MB, free: 8.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004593/0.1685, allocations: 170.8 kB / 445.4 MB, free: 8.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1686, allocations: 59.34 kB / 445.4 MB, free: 8.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.1688, allocations: 154.1 kB / 445.6 MB, free: 8.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1689, allocations: 25.7 kB / 445.6 MB, free: 8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.169, allocations: 154.8 kB / 445.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.169, allocations: 11.91 kB / 445.8 MB, free: 7.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.169, allocations: 0 / 445.8 MB, free: 7.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.311e-05/0.1691, allocations: 318.8 kB / 446.1 MB, free: 7.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.1692, allocations: 23.98 kB / 446.1 MB, free: 7.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1694, allocations: 61.98 kB / 446.2 MB, free: 7.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.1695, allocations: 31.94 kB / 446.2 MB, free: 7.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1695, allocations: 0 / 446.2 MB, free: 7.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003573/0.1699, allocations: 105.5 kB / 446.3 MB, free: 7.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.17, allocations: 4 kB / 446.3 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.17, allocations: 4 kB / 446.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.1701, allocations: 0 / 446.3 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1703, allocations: 28.08 kB / 446.3 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1703, allocations: 4 kB / 446.3 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1704, allocations: 11.91 kB / 446.3 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1705, allocations: 4 kB / 446.3 MB, free: 7.215 MB / 282.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.0002175/0.1707, allocations: 137.5 kB / 446.5 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.171, allocations: 69.53 kB / 446.5 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.1713, allocations: 78.47 kB / 446.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.1713, allocations: 7.984 kB / 446.6 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.1713, allocations: 4 kB / 446.6 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1714, allocations: 0 / 446.6 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.1716, allocations: 173.6 kB / 446.8 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.1716, allocations: 0 / 446.8 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.1717, allocations: 7.984 kB / 446.8 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.1718, allocations: 0 / 446.8 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1718, allocations: 192 / 446.8 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1718, allocations: 0 / 446.8 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1718, allocations: 3.938 kB / 446.8 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.1721, allocations: 108.8 kB / 446.9 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1723, allocations: 93 kB / 447 MB, free: 6.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.1723, allocations: 7.984 kB / 447 MB, free: 6.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.1724, allocations: 3.938 kB / 447 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.1725, allocations: 4 kB / 447 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1725, allocations: 4 kB / 447 MB, free: 6.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1727, allocations: 115.8 kB / 447.1 MB, free: 6.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.1727, allocations: 0 / 447.1 MB, free: 6.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006025/0.1733, allocations: 12 kB / 447.2 MB, free: 6.289 MB / 282.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.0003172/0.1737, allocations: 111.2 kB / 447.3 MB, free: 6.168 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.174, allocations: 51.91 kB / 447.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.174, allocations: 0 / 447.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.589e-06/0.1741, allocations: 3.938 kB / 447.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.1748, allocations: 83.25 kB / 447.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006461/0.1755, allocations: 225.3 kB / 447.6 MB, free: 5.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1758, allocations: 0.7082 MB / 448.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.1758, allocations: 11.44 kB / 448.3 MB, free: 5.027 MB / 282.7 MB Notification: Performance of SimCode: time 1.984e-06/0.1759, allocations: 0 / 448.3 MB, free: 5.027 MB / 282.7 MB Notification: Performance of Templates: time 0.006046/0.1819, allocations: 1.23 MB / 449.6 MB, free: 3.805 MB / 282.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