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.001858/0.001858, allocations: 118.1 kB / 18.5 MB, free: 4.543 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.002114/0.002114, allocations: 214.4 kB / 21.46 MB, free: 1.586 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.363/1.363, allocations: 230.2 MB / 254.5 MB, free: 15.21 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 67.89 kB / 373.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1033, allocations: 53.32 MB / 426.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002094/0.1054, allocations: 0.8861 MB / 427.6 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005792/0.106, allocations: 247.1 kB / 427.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.106, allocations: 0 / 427.8 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.239e-05/0.1061, allocations: 11.92 kB / 427.8 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.1062, allocations: 11.92 kB / 427.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.1066, allocations: 95.72 kB / 427.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1067, allocations: 47.84 kB / 428 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.1068, allocations: 23.97 kB / 428 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.49e-05/0.1069, allocations: 11.94 kB / 428 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.1069, allocations: 23.86 kB / 428 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.107, allocations: 3.938 kB / 428 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.1071, allocations: 47.89 kB / 428.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1071, allocations: 19.92 kB / 428.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.1072, allocations: 31.8 kB / 428.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.1074, allocations: 91.61 kB / 428.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1074, allocations: 0 / 428.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1074, allocations: 4 kB / 428.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1074, allocations: 4 kB / 428.2 MB, free: 3.422 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.0005415/0.1079, allocations: 387 kB / 428.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.108, allocations: 8.031 kB / 428.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.108, allocations: 38.73 kB / 428.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.108, allocations: 8.891 kB / 428.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1083, allocations: 202.9 kB / 428.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1083, allocations: 12.38 kB / 428.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.1083, allocations: 4.375 kB / 428.9 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.1086, allocations: 157.4 kB / 429 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1086, allocations: 3.938 kB / 429 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.1086, allocations: 0 / 429 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1086, allocations: 0 / 429 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.692e-05/0.1087, allocations: 27.98 kB / 429.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.109, allocations: 273.6 kB / 429.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.442e-05/0.1091, allocations: 38.56 kB / 429.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.1091, allocations: 24.89 kB / 429.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/0.1098, allocations: 0.5778 MB / 430 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1098, allocations: 38.55 kB / 430 MB, free: 1.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1098, allocations: 0 / 430 MB, free: 1.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001991/0.11, allocations: 85.58 kB / 430.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.1101, allocations: 55.41 kB / 430.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1102, allocations: 149.8 kB / 430.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1102, allocations: 25.7 kB / 430.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.1103, allocations: 88.14 kB / 430.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1103, allocations: 11.94 kB / 430.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1103, allocations: 21.72 kB / 430.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1105, allocations: 326.8 kB / 430.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.1105, allocations: 19.98 kB / 430.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.1106, allocations: 73.81 kB / 430.8 MB, free: 424 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.779e-05/0.1107, allocations: 77.94 kB / 430.9 MB, free: 324 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1107, allocations: 4 kB / 430.9 MB, free: 320 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001455/0.1108, allocations: 109.5 kB / 431 MB, free: 204 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.1108, allocations: 4 kB / 431 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1108, allocations: 0 / 431 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1108, allocations: 4.219 kB / 431 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.1109, allocations: 27.94 kB / 431.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1109, allocations: 0 / 431.1 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.111, allocations: 7.953 kB / 431.1 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.111, allocations: 7.938 kB / 431.1 MB, free: 152 kB / 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.000107/0.1111, allocations: 137.6 kB / 431.2 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.1112, allocations: 69.72 kB / 431.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.1113, allocations: 86.36 kB / 431.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1113, allocations: 0 / 431.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1113, allocations: 8.141 kB / 431.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1113, allocations: 3.984 kB / 431.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1115, allocations: 177.5 kB / 431.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.1115, allocations: 7.984 kB / 431.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.1115, allocations: 4 kB / 431.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1115, allocations: 0 / 431.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.1115, allocations: 0 / 431.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1115, allocations: 0 / 431.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1115, allocations: 0 / 431.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.1116, allocations: 113 kB / 431.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.1117, allocations: 101 kB / 431.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1117, allocations: 4 kB / 431.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.352e-05/0.1118, allocations: 4 kB / 431.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-06/0.1118, allocations: 0 / 431.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1118, allocations: 0 / 431.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.084e-05/0.1119, allocations: 118.6 kB / 431.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1119, allocations: 0 / 431.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002039/0.1121, allocations: 20 kB / 431.9 MB, free: 15.2 MB / 366.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.0005186/0.1126, allocations: 0.6752 MB / 432.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1127, allocations: 59.94 kB / 432.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.1127, allocations: 4 kB / 432.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.1127, allocations: 448 / 432.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1131, allocations: 89.55 kB / 432.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.1144, allocations: 1.458 MB / 434.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1147, allocations: 0.7041 MB / 434.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.63e-05/0.1147, allocations: 8.656 kB / 434.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.1147, allocations: 19.44 kB / 434.9 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1147, allocations: 0 / 434.9 MB, free: 12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.1383, allocations: 2.614 MB / 437.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.642, allocations: 16.64 kB / 437.6 MB, free: 9.477 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.089326717890799]