Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01013/0.01013, allocations: 1.781 MB / 18.83 MB, free: 4.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 107.6 kB / 22.07 MB, free: 1.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 212.6 kB / 25.44 MB, free: 3.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 259.2 MB, free: 13.14 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.044/1.044, allocations: 130.6 MB / 446.3 MB, free: 15.04 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.3625/0.3625, allocations: 46.15 MB / 0.6552 GB, free: 30.31 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.5325, allocations: 89.05 MB / 0.7421 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003262/0.5358, allocations: 2.146 MB / 0.7442 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008322/0.5366, allocations: 450.4 kB / 0.7447 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.5366, allocations: 0 / 0.7447 GB, free: 156 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.5367, allocations: 7.938 kB / 0.7447 GB, free: 148 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.5368, allocations: 11.88 kB / 0.7447 GB, free: 136 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.5373, allocations: 135.6 kB / 0.7448 GB, free: 0 / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.5375, allocations: 91.75 kB / 0.7449 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 9.006e-05/0.5376, allocations: 8 kB / 0.7449 GB, free: 15.9 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.5376, allocations: 35.84 kB / 0.7449 GB, free: 15.87 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/0.5377, allocations: 39.83 kB / 0.745 GB, free: 15.83 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.5377, allocations: 8 kB / 0.745 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.5379, allocations: 87.91 kB / 0.7451 GB, free: 15.73 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.538, allocations: 19.92 kB / 0.7451 GB, free: 15.71 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.538, allocations: 39.8 kB / 0.7451 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.5382, allocations: 135.4 kB / 0.7452 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5382, allocations: 0 / 0.7452 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of FrontEnd: time 3.346e-06/0.5382, allocations: 3.984 kB / 0.7453 GB, free: 15.54 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.5382, allocations: 0 / 0.7453 GB, free: 15.54 MB / 0.5607 GB 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.0007373/0.539, allocations: 423 kB / 0.7457 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.539, allocations: 12.03 kB / 0.7457 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.816e-05/0.539, allocations: 4.188 kB / 0.7457 GB, free: 15.06 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.5391, allocations: 34.75 kB / 0.7457 GB, free: 15.02 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.5391, allocations: 16.83 kB / 0.7457 GB, free: 15 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.5393, allocations: 184.3 kB / 0.7459 GB, free: 14.78 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.5394, allocations: 38.25 kB / 0.7459 GB, free: 14.74 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.5394, allocations: 12.31 kB / 0.7459 GB, free: 14.73 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.5397, allocations: 109.7 kB / 0.746 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5398, allocations: 7.938 kB / 0.7461 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5398, allocations: 0 / 0.7461 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5398, allocations: 0 / 0.7461 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.5402, allocations: 103.8 kB / 0.7462 GB, free: 14.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.5408, allocations: 360.6 kB / 0.7465 GB, free: 14.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.5411, allocations: 94.52 kB / 0.7466 GB, free: 14 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.5413, allocations: 68.94 kB / 0.7467 GB, free: 13.93 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.5413, allocations: 7.984 kB / 0.7467 GB, free: 13.92 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5413, allocations: 30.56 kB / 0.7467 GB, free: 13.88 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.5413, allocations: 0 / 0.7467 GB, free: 13.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=8): time 0.0007726/0.5421, allocations: 225.6 kB / 0.7469 GB, free: 13.66 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.5422, allocations: 55.41 kB / 0.747 GB, free: 13.59 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5423, allocations: 124.8 kB / 0.7471 GB, free: 13.46 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.5423, allocations: 29.7 kB / 0.7471 GB, free: 13.43 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.5423, allocations: 92.08 kB / 0.7472 GB, free: 13.33 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.5424, allocations: 35.69 kB / 0.7472 GB, free: 13.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.5424, allocations: 29.7 kB / 0.7473 GB, free: 13.26 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5426, allocations: 326.8 kB / 0.7476 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.5428, allocations: 55.94 kB / 0.7476 GB, free: 12.88 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.543, allocations: 59.95 kB / 0.7477 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.5434, allocations: 136.7 kB / 0.7478 GB, free: 12.68 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5434, allocations: 0 / 0.7478 GB, free: 12.68 MB / 0.5607 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004741/0.5439, allocations: 169.7 kB / 0.748 GB, free: 12.51 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5439, allocations: 4.094 kB / 0.748 GB, free: 12.51 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.5439, allocations: 7.938 kB / 0.748 GB, free: 12.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5439, allocations: 4 kB / 0.748 GB, free: 12.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.5444, allocations: 63.92 kB / 0.748 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.5444, allocations: 0 / 0.748 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.5445, allocations: 23.97 kB / 0.7481 GB, free: 12.41 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.5445, allocations: 3.938 kB / 0.7481 GB, free: 12.41 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 9.28e-05/0.5446, allocations: 117.8 kB / 0.7482 GB, free: 12.28 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.5446, allocations: 7.953 kB / 0.7482 GB, free: 12.27 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.152e-05/0.5447, allocations: 12.38 kB / 0.7482 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5447, allocations: 0 / 0.7482 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5447, allocations: 112 / 0.7482 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5447, allocations: 7.922 kB / 0.7482 GB, free: 12.25 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.5449, allocations: 197.5 kB / 0.7484 GB, free: 12.01 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5449, allocations: 0 / 0.7484 GB, free: 12.01 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.5454, allocations: 71.86 kB / 0.7485 GB, free: 11.94 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5454, allocations: 4 kB / 0.7485 GB, free: 11.93 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.5454, allocations: 0 / 0.7485 GB, free: 11.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5454, allocations: 0 / 0.7485 GB, free: 11.93 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.5454, allocations: 0 / 0.7485 GB, free: 11.93 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.5462, allocations: 343.2 kB / 0.7488 GB, free: 11.58 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.5462, allocations: 85 kB / 0.7489 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.5463, allocations: 8.016 kB / 0.7489 GB, free: 11.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.5464, allocations: 11.98 kB / 0.7489 GB, free: 11.46 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.5464, allocations: 16.05 kB / 0.7489 GB, free: 11.45 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.5465, allocations: 0 / 0.7489 GB, free: 11.45 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 6.483e-05/0.5465, allocations: 103.1 kB / 0.749 GB, free: 11.34 MB / 0.5607 GB Notification: Performance of sort global known variables: time 9e-08/0.5465, allocations: 0 / 0.749 GB, free: 11.34 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002842/0.5468, allocations: 39.92 kB / 0.7491 GB, free: 11.3 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (noise.y_,noise.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001124/0.5479, allocations: 0.8725 MB / 0.7499 GB, free: 10.41 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.5484, allocations: 135.9 kB / 0.75 GB, free: 10.27 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5484, allocations: 0 / 0.75 GB, free: 10.27 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.5487, allocations: 67.94 kB / 0.7501 GB, free: 10.21 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.549, allocations: 14.09 kB / 0.7501 GB, free: 10.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.5514, allocations: 1.727 MB / 0.7518 GB, free: 8.383 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.5518, allocations: 0.7077 MB / 0.7525 GB, free: 7.648 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 6.614e-05/0.5518, allocations: 15.98 kB / 0.7525 GB, free: 7.633 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.5519, allocations: 27.42 kB / 0.7525 GB, free: 7.605 MB / 0.5607 GB Notification: Performance of SimCode: time 2.81e-07/0.5519, allocations: 0 / 0.7525 GB, free: 7.605 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.5717, allocations: 2.796 MB / 0.7553 GB, free: 4.93 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.887, allocations: 8.062 kB / 0.7553 GB, free: 4.922 MB / 0.5607 GB " [Timeout remaining time 791] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 12.577993535960559]