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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001685/0.001685, allocations: 120.1 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001634/0.001634, allocations: 214.3 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 230.4 MB / 254.7 MB, free: 14.83 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 63.89 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1207, allocations: 53.37 MB / 427.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002649/0.1234, allocations: 0.8844 MB / 428 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000695/0.1241, allocations: 255.1 kB / 428.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.863e-05/0.1242, allocations: 3.938 kB / 428.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.436e-05/0.1242, allocations: 7.938 kB / 428.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.1244, allocations: 7.922 kB / 428.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.1249, allocations: 95.72 kB / 428.3 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.125, allocations: 43.84 kB / 428.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.1251, allocations: 23.98 kB / 428.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.187e-05/0.1251, allocations: 19.91 kB / 428.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.655e-05/0.1252, allocations: 23.86 kB / 428.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1252, allocations: 4 kB / 428.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1253, allocations: 39.97 kB / 428.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.1254, allocations: 19.92 kB / 428.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.1254, allocations: 27.8 kB / 428.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1256, allocations: 95.55 kB / 428.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.1256, allocations: 8 kB / 428.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1256, allocations: 0 / 428.6 MB, free: 3.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1257, allocations: 0 / 428.6 MB, free: 3.043 MB / 350.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.0006584/0.1263, allocations: 391 kB / 429 MB, free: 2.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1264, allocations: 12.03 kB / 429 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.415e-05/0.1264, allocations: 192 / 429 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.1264, allocations: 34.75 kB / 429 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.1265, allocations: 16.83 kB / 429.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1268, allocations: 202.4 kB / 429.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1268, allocations: 4.375 kB / 429.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1268, allocations: 4.375 kB / 429.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.1272, allocations: 161.2 kB / 429.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1272, allocations: 3.938 kB / 429.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1272, allocations: 0 / 429.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1272, allocations: 4 kB / 429.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.389e-05/0.1273, allocations: 20 kB / 429.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.1276, allocations: 273.7 kB / 429.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.1277, allocations: 42.5 kB / 429.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.041e-05/0.1278, allocations: 16.94 kB / 429.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/0.1286, allocations: 0.5935 MB / 430.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1286, allocations: 30.56 kB / 430.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.1286, allocations: 0 / 430.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002403/0.1288, allocations: 85.62 kB / 430.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1289, allocations: 55.34 kB / 430.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.129, allocations: 153.8 kB / 430.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1291, allocations: 25.7 kB / 430.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.1291, allocations: 88.14 kB / 430.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.1291, allocations: 7.953 kB / 430.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.1292, allocations: 29.7 kB / 430.8 MB, free: 472 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1293, allocations: 318.8 kB / 431.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.619e-05/0.1293, allocations: 19.98 kB / 431.2 MB, free: 124 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.1294, allocations: 66 kB / 431.2 MB, free: 36 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2016/0.331, allocations: 79.16 kB / 431.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.331, allocations: 0.5 kB / 431.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002356/0.3313, allocations: 115.5 kB / 431.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.3313, allocations: 6 kB / 431.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3313, allocations: 2.844 kB / 431.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/0.3314, allocations: 4.188 kB / 431.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3315, allocations: 20.08 kB / 431.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3315, allocations: 1.625 kB / 431.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.168e-05/0.3315, allocations: 4.953 kB / 431.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3315, allocations: 5.625 kB / 431.5 MB, free: 10.65 MB / 350.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.0001542/0.3317, allocations: 140.2 kB / 431.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.3318, allocations: 70.53 kB / 431.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.332, allocations: 89.7 kB / 431.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.332, allocations: 1 kB / 431.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.332, allocations: 0 / 431.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3321, allocations: 1.344 kB / 431.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.3322, allocations: 180.4 kB / 431.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3322, allocations: 4.281 kB / 431.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.3322, allocations: 3.984 kB / 431.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3322, allocations: 5.125 kB / 432 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.3322, allocations: 1.812 kB / 432 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3322, allocations: 1.234 kB / 432 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3322, allocations: 0.5938 kB / 432 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.3324, allocations: 112.4 kB / 432.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.3324, allocations: 94.89 kB / 432.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.3325, allocations: 8.281 kB / 432.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.3325, allocations: 0.5312 kB / 432.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.3325, allocations: 1.031 kB / 432.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3325, allocations: 1.438 kB / 432.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.295e-05/0.3326, allocations: 118.9 kB / 432.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3326, allocations: 0.5 kB / 432.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.3329, allocations: 19.48 kB / 432.3 MB, free: 10.04 MB / 350.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.0006529/0.3336, allocations: 0.6779 MB / 433 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.3338, allocations: 47.66 kB / 433 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3338, allocations: 4.188 kB / 433 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3338, allocations: 0 / 433 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.3343, allocations: 93.38 kB / 433.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3357, allocations: 1.459 MB / 434.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.3359, allocations: 0.7026 MB / 435.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.491e-05/0.336, allocations: 10.06 kB / 435.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.336, allocations: 23.48 kB / 435.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.336, allocations: 0 / 435.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.3569, allocations: 2.657 MB / 438 MB, free: 7.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/8.414, allocations: 3.062 kB / 438 MB, free: 7.078 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000215433 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,uniformNoise.y Variables in the result:const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(uniformNoise.seedState[1]),previous(uniformNoise.seedState[2]),previous(uniformNoise.seedState[3]),sample1.u,sample1.y,time,uniformNoise.firstSeed[1],uniformNoise.firstSeed[2],uniformNoise.firstSeed[3],uniformNoise.noiseMax,uniformNoise.noiseMin,uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3],uniformNoise.u,uniformNoise.y [Calling sys.exit(0), Time elapsed: 11.066902914026286]