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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01045/0.01045, allocations: 88.56 kB / 15.91 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002765/0.002765, allocations: 198.5 kB / 16.83 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.1 MB / 222.7 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08516/0.08516, allocations: 12.6 MB / 282.6 MB, free: 8.84 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 87.89 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1301, allocations: 49.4 MB / 392.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.002884/0.133, allocations: 0.9304 MB / 393.1 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008949/0.134, allocations: 263.1 kB / 393.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.1341, allocations: 0 / 393.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.46e-05/0.1342, allocations: 7.922 kB / 393.4 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1344, allocations: 11.94 kB / 393.4 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.1349, allocations: 83.86 kB / 393.5 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.135, allocations: 39.84 kB / 393.5 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1352, allocations: 12 kB / 393.5 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.1353, allocations: 19.91 kB / 393.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1354, allocations: 23.86 kB / 393.6 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.1354, allocations: 4 kB / 393.6 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1356, allocations: 39.91 kB / 393.6 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1357, allocations: 23.91 kB / 393.6 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.062e-05/0.1358, allocations: 27.81 kB / 393.7 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.136, allocations: 79.7 kB / 393.7 MB, free: 2.156 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1361, allocations: 0 / 393.7 MB, free: 2.156 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1361, allocations: 0 / 393.7 MB, free: 2.156 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1361, allocations: 0 / 393.7 MB, free: 2.156 MB / 286.1 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.0008449/0.1369, allocations: 407.1 kB / 394.1 MB, free: 1.707 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.137, allocations: 8.031 kB / 394.1 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.1371, allocations: 8.844 kB / 394.2 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.1374, allocations: 200.1 kB / 394.4 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1374, allocations: 8.375 kB / 394.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1375, allocations: 384 / 394.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.138, allocations: 153.5 kB / 394.5 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.138, allocations: 192 / 394.5 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.138, allocations: 3.938 kB / 394.5 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.138, allocations: 7.984 kB / 394.5 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.833e-05/0.1381, allocations: 23.92 kB / 394.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.1385, allocations: 273.6 kB / 394.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1387, allocations: 46.45 kB / 394.9 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.5e-05/0.1388, allocations: 32.83 kB / 394.9 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009784/0.1397, allocations: 0.5817 MB / 395.5 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.1398, allocations: 34.56 kB / 395.5 MB, free: 84 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.1398, allocations: 0 / 395.5 MB, free: 84 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003362/0.1402, allocations: 85.73 kB / 395.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.1403, allocations: 59.34 kB / 395.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1406, allocations: 153.8 kB / 395.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.1406, allocations: 25.7 kB / 395.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.1407, allocations: 92.12 kB / 395.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.1407, allocations: 7.906 kB / 395.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.1408, allocations: 21.72 kB / 395.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.141, allocations: 326.8 kB / 396.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1412, allocations: 15.98 kB / 396.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.1413, allocations: 66 kB / 396.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1414, allocations: 81.88 kB / 396.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1414, allocations: 0 / 396.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000263/0.1417, allocations: 113.4 kB / 396.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1417, allocations: 8 kB / 396.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1417, allocations: 224 / 396.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1418, allocations: 8 kB / 396.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1419, allocations: 19.94 kB / 396.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/0.1419, allocations: 8.219 kB / 396.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.142, allocations: 0 / 396.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.142, allocations: 4 kB / 396.6 MB, free: 14.9 MB / 302.1 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 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],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 0.0001583/0.1422, allocations: 129.8 kB / 396.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.1424, allocations: 89.41 kB / 396.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.1426, allocations: 82.39 kB / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1426, allocations: 0 / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1426, allocations: 0 / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1426, allocations: 192 / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.1428, allocations: 177.6 kB / 397 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.1428, allocations: 3.938 kB / 397 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.1429, allocations: 4 kB / 397.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1429, allocations: 0 / 397.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1429, allocations: 4 kB / 397.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1429, allocations: 0 / 397.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.143, allocations: 0 / 397.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.1432, allocations: 108.9 kB / 397.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1433, allocations: 96.94 kB / 397.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.1433, allocations: 8 kB / 397.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.1434, allocations: 0 / 397.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-06/0.1434, allocations: 0 / 397.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.1434, allocations: 4 kB / 397.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1436, allocations: 115.2 kB / 397.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1436, allocations: 0 / 397.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.144, allocations: 24 kB / 397.4 MB, free: 13.96 MB / 302.1 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.0002132/0.1442, allocations: 111.1 kB / 397.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1444, allocations: 55.91 kB / 397.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.1444, allocations: 0 / 397.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.1444, allocations: 3.938 kB / 397.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.145, allocations: 86.3 kB / 397.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.1455, allocations: 211 kB / 397.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.146, allocations: 0.6926 MB / 398.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.227e-05/0.1461, allocations: 12.66 kB / 398.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.1461, allocations: 15.44 kB / 398.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.745e-06/0.1461, allocations: 0 / 398.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of Templates: time 0.005613/0.1517, allocations: 1.27 MB / 399.9 MB, free: 11.45 MB / 302.1 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/jenkins/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