Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 114.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 60.09 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.13, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.003678/0.1337, allocations: 0.8683 MB / 359.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1348, allocations: 247.1 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.135, allocations: 0 / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.332e-05/0.1352, allocations: 3.938 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.1355, allocations: 15.91 kB / 360 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.1363, allocations: 99.73 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.1365, allocations: 43.84 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.1368, allocations: 23.95 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.916e-05/0.1368, allocations: 15.94 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.137, allocations: 19.86 kB / 360.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.137, allocations: 4 kB / 360.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1372, allocations: 39.97 kB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.1373, allocations: 23.91 kB / 360.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.114e-05/0.1374, allocations: 31.8 kB / 360.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1377, allocations: 99.61 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1377, allocations: 7.938 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1377, allocations: 0 / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1377, allocations: 0 / 360.4 MB, free: 11.81 MB / 302.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.0009221/0.1387, allocations: 379.1 kB / 360.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.334e-05/0.1388, allocations: 15.97 kB / 360.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.433e-05/0.1388, allocations: 8.844 kB / 360.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.1394, allocations: 210.5 kB / 361 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.1394, allocations: 8.312 kB / 361 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1394, allocations: 4.375 kB / 361 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.1399, allocations: 141.6 kB / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1399, allocations: 192 / 361.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.14, allocations: 11.94 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.14, allocations: 0 / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.1401, allocations: 23.92 kB / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.1406, allocations: 269.8 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1407, allocations: 42.5 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/0.1408, allocations: 28.92 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008061/0.1416, allocations: 0.5856 MB / 362.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1417, allocations: 34.56 kB / 362.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 3.126e-06/0.1417, allocations: 3.984 kB / 362.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002664/0.1419, allocations: 85.59 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.142, allocations: 63.3 kB / 362.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1422, allocations: 149.3 kB / 362.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1422, allocations: 29.64 kB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.1423, allocations: 92.12 kB / 362.6 MB, free: 9.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1423, allocations: 11.84 kB / 362.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.1424, allocations: 25.72 kB / 362.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1425, allocations: 322.8 kB / 362.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.1426, allocations: 23.98 kB / 363 MB, free: 8.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.1426, allocations: 62 kB / 363 MB, free: 8.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.1427, allocations: 81.88 kB / 363.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1428, allocations: 0 / 363.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001796/0.1429, allocations: 109.4 kB / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.143, allocations: 8.219 kB / 363.2 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.143, allocations: 4.188 kB / 363.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.143, allocations: 0 / 363.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1431, allocations: 27.86 kB / 363.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1431, allocations: 4 kB / 363.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1432, allocations: 3.938 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1432, allocations: 8 kB / 363.3 MB, free: 8.574 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.000134/0.1434, allocations: 133.7 kB / 363.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.1435, allocations: 69.53 kB / 363.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.1437, allocations: 98.28 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1437, allocations: 0 / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1437, allocations: 0 / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1437, allocations: 0 / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1439, allocations: 177.6 kB / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.1439, allocations: 0 / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.1439, allocations: 4 kB / 363.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1439, allocations: 3.938 kB / 363.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1439, allocations: 0 / 363.7 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.144, allocations: 4 kB / 363.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.144, allocations: 8 kB / 363.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1441, allocations: 104.9 kB / 363.9 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.359e-05/0.1442, allocations: 93 kB / 363.9 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1443, allocations: 4 kB / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.1443, allocations: 0 / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-06/0.1443, allocations: 0 / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/0.1444, allocations: 7.984 kB / 364 MB, free: 7.773 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1445, allocations: 115.2 kB / 364.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1445, allocations: 4 kB / 364.1 MB, free: 7.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1448, allocations: 15.98 kB / 364.1 MB, free: 7.641 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.0002845/0.145, allocations: 107.2 kB / 364.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1453, allocations: 51.91 kB / 364.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1453, allocations: 0 / 364.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.1453, allocations: 0 / 364.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.1458, allocations: 90.02 kB / 364.3 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.1463, allocations: 181.3 kB / 364.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.1468, allocations: 0.7002 MB / 365.2 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.1468, allocations: 4.953 kB / 365.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.1469, allocations: 15.44 kB / 365.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of SimCode: time 1.293e-06/0.1469, allocations: 0 / 365.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of Templates: time 0.005352/0.1522, allocations: 1.35 MB / 366.6 MB, free: 5.09 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches