Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.0008241/0.0008241, allocations: 94.48 kB / 16.65 MB, free: 6.602 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.0009913/0.0009915, allocations: 183.2 kB / 17.56 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 223.3 MB / 241.6 MB, free: 168 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 11.92 kB / 301.4 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1246, allocations: 50.41 MB / 351.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001361/0.126, allocations: 0.5969 MB / 352.4 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006269/0.1266, allocations: 259.1 kB / 352.7 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.1267, allocations: 4 kB / 352.7 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.1268, allocations: 3.938 kB / 352.7 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1269, allocations: 7.922 kB / 352.7 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.1274, allocations: 83.19 kB / 352.8 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1275, allocations: 51.83 kB / 352.8 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1276, allocations: 12 kB / 352.8 MB, free: 2.684 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.094e-05/0.1277, allocations: 19.92 kB / 352.9 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.1278, allocations: 11.88 kB / 352.9 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1278, allocations: 4 kB / 352.9 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1279, allocations: 47.88 kB / 352.9 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.128, allocations: 15.92 kB / 352.9 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.1281, allocations: 53.52 kB / 353 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1282, allocations: 83.67 kB / 353.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1282, allocations: 0 / 353.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1282, allocations: 4 kB / 353.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1282, allocations: 0 / 353.1 MB, free: 2.441 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.0005485/0.1288, allocations: 379.5 kB / 353.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1289, allocations: 8.031 kB / 353.5 MB, free: 2.012 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.1289, allocations: 8.844 kB / 353.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.1291, allocations: 202.9 kB / 353.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1292, allocations: 8.359 kB / 353.7 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1292, allocations: 4.375 kB / 353.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1295, allocations: 149.6 kB / 353.8 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.1295, allocations: 192 / 353.8 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1296, allocations: 7.938 kB / 353.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1296, allocations: 0 / 353.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.157e-05/0.1296, allocations: 23.92 kB / 353.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.13, allocations: 273.7 kB / 354.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1301, allocations: 50.44 kB / 354.2 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.1302, allocations: 20.86 kB / 354.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/0.1309, allocations: 0.5856 MB / 354.8 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1309, allocations: 38.56 kB / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.1309, allocations: 0 / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002282/0.1312, allocations: 89.48 kB / 354.9 MB, free: 312 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.1312, allocations: 59.58 kB / 355 MB, free: 240 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1314, allocations: 149 kB / 355.1 MB, free: 84 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1314, allocations: 25.7 kB / 355.1 MB, free: 52 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.1315, allocations: 88.14 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1315, allocations: 15.89 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.1316, allocations: 17.72 kB / 355.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1317, allocations: 326.8 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.255e-05/0.1318, allocations: 16 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.949e-05/0.1318, allocations: 61.98 kB / 355.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.653e-05/0.1319, allocations: 85.88 kB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1319, allocations: 0 / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000155/0.1321, allocations: 109.5 kB / 355.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1321, allocations: 4 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1321, allocations: 4 kB / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1321, allocations: 0 / 355.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.1322, allocations: 23.92 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1322, allocations: 3.984 kB / 355.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.1323, allocations: 15.88 kB / 355.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1323, allocations: 4 kB / 355.9 MB, free: 15.22 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.0001085/0.1324, allocations: 136.8 kB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.609e-05/0.1325, allocations: 69.53 kB / 356.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.1327, allocations: 86.45 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1327, allocations: 4 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1327, allocations: 0 / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1327, allocations: 4 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.1329, allocations: 181.5 kB / 356.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.381e-06/0.1329, allocations: 0 / 356.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.1329, allocations: 11.98 kB / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1329, allocations: 0 / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.133, allocations: 0 / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.133, allocations: 192 / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.133, allocations: 0 / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.1331, allocations: 104.8 kB / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.65e-05/0.1332, allocations: 97 kB / 356.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1332, allocations: 7.984 kB / 356.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.1332, allocations: 4 kB / 356.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.1333, allocations: 0 / 356.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1333, allocations: 0 / 356.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.641e-05/0.1334, allocations: 120.9 kB / 356.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1334, allocations: 3.938 kB / 356.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1336, allocations: 16 kB / 356.7 MB, free: 14.29 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.0002071/0.1338, allocations: 115.2 kB / 356.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.134, allocations: 52.05 kB / 356.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.134, allocations: 0 / 356.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.134, allocations: 3.938 kB / 356.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.1344, allocations: 81.97 kB / 357 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.1348, allocations: 199.5 kB / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.135, allocations: 0.7082 MB / 357.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.768e-05/0.1351, allocations: 8.656 kB / 357.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1351, allocations: 11.44 kB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1351, allocations: 0 / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Templates: time 0.003839/0.1389, allocations: 1.252 MB / 359.1 MB, free: 11.79 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches