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.0008263/0.0008263, allocations: 80.34 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008829/0.0008829, allocations: 156.9 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8867/0.8867, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.171e-05, allocations: 3.406 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001725/0.001746, allocations: 0.8998 MB / 325.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004836/0.00223, allocations: 239 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.002308, allocations: 4 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.585e-05/0.002353, allocations: 11.86 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.0025, allocations: 7.938 kB / 325.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.002881, allocations: 99.64 kB / 325.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.002995, allocations: 43.84 kB / 325.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.003083, allocations: 12 kB / 325.8 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.089e-05/0.003134, allocations: 35.89 kB / 325.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.003198, allocations: 11.98 kB / 325.9 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.003215, allocations: 4 kB / 325.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.003306, allocations: 35.97 kB / 325.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.003412, allocations: 27.91 kB / 325.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.003442, allocations: 15.94 kB / 326 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.003618, allocations: 99.59 kB / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.00362, allocations: 0 / 326.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.003622, allocations: 4 kB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.003626, allocations: 0 / 326.1 MB, free: 14.32 MB / 298.7 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.0004052/0.004031, allocations: 313.9 kB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.004068, allocations: 15.98 kB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.004098, allocations: 38.73 kB / 326.4 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.004123, allocations: 8.891 kB / 326.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.004304, allocations: 133.6 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.004313, allocations: 4.375 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.004325, allocations: 8.375 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.004545, allocations: 149.5 kB / 326.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.004554, allocations: 192 / 326.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.004562, allocations: 4.359 kB / 326.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.004569, allocations: 8.125 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.429e-05/0.004603, allocations: 19.94 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.004862, allocations: 240.8 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.019e-05/0.004942, allocations: 34.58 kB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.004973, allocations: 28.83 kB / 327.1 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.005267, allocations: 63.88 kB / 327.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.005294, allocations: 34.56 kB / 327.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.005296, allocations: 3.938 kB / 327.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001881/0.005484, allocations: 89.92 kB / 327.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.005525, allocations: 59.39 kB / 327.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.005617, allocations: 153.7 kB / 327.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.005626, allocations: 29.7 kB / 327.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.00566, allocations: 92.14 kB / 327.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.005673, allocations: 3.953 kB / 327.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.0057, allocations: 25.7 kB / 327.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.061e-05/0.005771, allocations: 318.8 kB / 327.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.005791, allocations: 19.98 kB / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.005818, allocations: 38.5 kB / 328 MB, free: 12.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.799e-05/0.005856, allocations: 42.56 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005858, allocations: 4 kB / 328 MB, free: 12.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.187e-05/0.00593, allocations: 85.56 kB / 328.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.005941, allocations: 4 kB / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.005946, allocations: 4 kB / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.005957, allocations: 0 / 328.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.006011, allocations: 15.94 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.006015, allocations: 0 / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.006032, allocations: 7.953 kB / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.006037, allocations: 0 / 328.1 MB, free: 12.04 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (6): * Single equations (assignments): 6 * 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 7.731e-05/0.006115, allocations: 137.9 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.006169, allocations: 65.64 kB / 328.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.842e-05/0.006267, allocations: 90.39 kB / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.00627, allocations: 3.984 kB / 328.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.006274, allocations: 3.938 kB / 328.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.006277, allocations: 0 / 328.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.497e-05/0.006342, allocations: 140.7 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.006345, allocations: 0 / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.006371, allocations: 7.984 kB / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.006372, allocations: 0 / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.006378, allocations: 0 / 328.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.00638, allocations: 8 kB / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.00638, allocations: 0 / 328.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.031e-05/0.006451, allocations: 97 kB / 328.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.006485, allocations: 27.83 kB / 328.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.0065, allocations: 7.984 kB / 328.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.178e-05/0.006512, allocations: 3.938 kB / 328.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-06/0.006514, allocations: 4 kB / 328.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.006522, allocations: 0 / 328.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.007e-05/0.006573, allocations: 114.2 kB / 328.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006573, allocations: 0 / 328.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000139/0.006712, allocations: 20 kB / 328.8 MB, free: 11.24 MB / 298.7 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.0003349/0.007046, allocations: 0.6671 MB / 329.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.27e-05/0.007129, allocations: 39.92 kB / 329.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.00713, allocations: 0 / 329.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.007131, allocations: 0 / 329.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.007389, allocations: 85.75 kB / 329.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008126/0.008201, allocations: 1.395 MB / 331 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.945e-05/0.008251, allocations: 91.25 kB / 331.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.977e-05/0.00827, allocations: 7.781 kB / 331.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.008304, allocations: 20.5 kB / 331.1 MB, free: 8.777 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.008304, allocations: 288 / 331.1 MB, free: 8.777 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.02406, allocations: 3.311 MB / 334.5 MB, free: 5.574 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/6.7, allocations: 11.91 kB / 334.5 MB, free: 5.562 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.338349143974483]