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.005888/0.005888, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0009723/0.0009723, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.00123/0.00123, allocations: 163.6 kB / 27.85 MB, free: 5.5 MB / 18.57 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 0.8334/0.8334, allocations: 177.2 MB / 208.6 MB, free: 2.953 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7179/0.7179, allocations: 102.5 MB / 367.9 MB, free: 1.484 MB / 330.8 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.5.2 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testRandomGenerators2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5362 GB, free: 40.14 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.148e-05, allocations: 2.5 kB / 0.5362 GB, free: 40.13 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001842/0.001854, allocations: 2.117 MB / 0.5383 GB, free: 38.68 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005967/0.00245, allocations: 417.2 kB / 0.5387 GB, free: 38.42 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.002508, allocations: 1.25 kB / 0.5387 GB, free: 38.42 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.00261, allocations: 8.375 kB / 0.5387 GB, free: 38.41 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.002649, allocations: 14.14 kB / 0.5387 GB, free: 38.4 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.003149, allocations: 149 kB / 0.5388 GB, free: 38.34 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.003272, allocations: 82.84 kB / 0.5389 GB, free: 38.3 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.003363, allocations: 12.73 kB / 0.5389 GB, free: 38.29 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.003433, allocations: 41.36 kB / 0.5389 GB, free: 38.28 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.003496, allocations: 39.7 kB / 0.539 GB, free: 38.26 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.003513, allocations: 6.406 kB / 0.539 GB, free: 38.26 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.003666, allocations: 78.38 kB / 0.5391 GB, free: 38.25 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.003722, allocations: 27.8 kB / 0.5391 GB, free: 38.23 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.003754, allocations: 26.89 kB / 0.5391 GB, free: 38.21 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.003931, allocations: 148.2 kB / 0.5393 GB, free: 38.16 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003933, allocations: 0.9375 kB / 0.5393 GB, free: 38.16 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.011e-06/0.003934, allocations: 0 / 0.5393 GB, free: 38.16 MB / 490.8 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.003939, allocations: 1.375 kB / 0.5393 GB, free: 38.16 MB / 490.8 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.0005293/0.004468, allocations: 348.9 kB / 0.5396 GB, free: 37.86 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.004506, allocations: 8.75 kB / 0.5396 GB, free: 37.86 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.004533, allocations: 40.59 kB / 0.5396 GB, free: 37.81 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.004567, allocations: 9.641 kB / 0.5397 GB, free: 37.81 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.00469, allocations: 129.5 kB / 0.5398 GB, free: 37.67 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.456e-05/0.004734, allocations: 34.14 kB / 0.5398 GB, free: 37.64 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.004754, allocations: 10.47 kB / 0.5398 GB, free: 37.63 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.004946, allocations: 108.5 kB / 0.5399 GB, free: 37.59 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.004954, allocations: 192 / 0.5399 GB, free: 37.59 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.004964, allocations: 5.938 kB / 0.5399 GB, free: 37.58 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004969, allocations: 6.531 kB / 0.5399 GB, free: 37.58 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.005172, allocations: 102.7 kB / 0.54 GB, free: 37.56 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.005534, allocations: 318.9 kB / 0.5403 GB, free: 37.29 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.005697, allocations: 103.6 kB / 0.5404 GB, free: 37.24 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.005799, allocations: 67.36 kB / 0.5405 GB, free: 37.22 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.005821, allocations: 5.594 kB / 0.5405 GB, free: 37.22 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.005834, allocations: 33.44 kB / 0.5405 GB, free: 37.18 MB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.005835, allocations: 0 / 0.5405 GB, free: 37.18 MB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.000403/0.006238, allocations: 215.2 kB / 0.5407 GB, free: 37.11 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.006262, allocations: 52.78 kB / 0.5408 GB, free: 37.05 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.006321, allocations: 130.3 kB / 0.5409 GB, free: 36.94 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.006329, allocations: 25.7 kB / 0.5409 GB, free: 36.91 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.006359, allocations: 100.9 kB / 0.541 GB, free: 36.81 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.006383, allocations: 33.55 kB / 0.5411 GB, free: 36.78 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.006416, allocations: 25.27 kB / 0.5411 GB, free: 36.76 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.202e-05/0.006448, allocations: 321.4 kB / 0.5414 GB, free: 36.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.006551, allocations: 58.81 kB / 0.5415 GB, free: 36.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-05/0.00665, allocations: 62.66 kB / 0.5415 GB, free: 36.42 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.006852, allocations: 135.5 kB / 0.5416 GB, free: 36.38 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006854, allocations: 0 / 0.5416 GB, free: 36.38 MB / 490.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002416/0.007096, allocations: 170.2 kB / 0.5418 GB, free: 36.32 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.007108, allocations: 5.531 kB / 0.5418 GB, free: 36.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.007113, allocations: 0 / 0.5418 GB, free: 36.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.007126, allocations: 2.219 kB / 0.5418 GB, free: 36.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.007356, allocations: 72.08 kB / 0.5419 GB, free: 36.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.007361, allocations: 0 / 0.5419 GB, free: 36.31 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.007408, allocations: 16.2 kB / 0.5419 GB, free: 36.31 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.007416, allocations: 7.828 kB / 0.5419 GB, free: 36.31 MB / 490.8 MB 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 4.633e-05/0.007462, allocations: 117.5 kB / 0.542 GB, free: 36.19 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.00748, allocations: 11.64 kB / 0.542 GB, free: 36.18 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.007517, allocations: 11.06 kB / 0.542 GB, free: 36.17 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007519, allocations: 3.156 kB / 0.542 GB, free: 36.17 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.007525, allocations: 3.234 kB / 0.542 GB, free: 36.17 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.007528, allocations: 1.234 kB / 0.542 GB, free: 36.17 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.007631, allocations: 160.4 kB / 0.5422 GB, free: 36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.007633, allocations: 9.078 kB / 0.5422 GB, free: 35.99 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.007843, allocations: 65.89 kB / 0.5423 GB, free: 35.99 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.007845, allocations: 3.938 kB / 0.5423 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.007854, allocations: 5.375 kB / 0.5423 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.007855, allocations: 1.125 kB / 0.5423 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007856, allocations: 0 / 0.5423 GB, free: 35.98 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.008233, allocations: 333 kB / 0.5426 GB, free: 35.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.008244, allocations: 10.59 kB / 0.5426 GB, free: 35.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.00826, allocations: 6.469 kB / 0.5426 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.126e-05/0.008321, allocations: 11.12 kB / 0.5426 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.008361, allocations: 15.61 kB / 0.5426 GB, free: 35.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.008367, allocations: 2.25 kB / 0.5426 GB, free: 35.79 MB / 490.8 MB Notification: Performance of sorting global known variables: time 3.14e-05/0.008398, allocations: 105.1 kB / 0.5427 GB, free: 35.7 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008398, allocations: 0 / 0.5427 GB, free: 35.7 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002015/0.0086, allocations: 36.94 kB / 0.5428 GB, free: 35.7 MB / 490.8 MB 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.0005205/0.00912, allocations: 0.883 MB / 0.5436 GB, free: 34.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.009373, allocations: 136.3 kB / 0.5438 GB, free: 34.96 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.009374, allocations: 0 / 0.5438 GB, free: 34.96 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.009479, allocations: 64.19 kB / 0.5438 GB, free: 34.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.009675, allocations: 10.69 kB / 0.5438 GB, free: 34.94 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.01102, allocations: 1.717 MB / 0.5455 GB, free: 33.61 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.771e-05/0.01108, allocations: 84.61 kB / 0.5456 GB, free: 33.53 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 4.908e-05/0.01113, allocations: 14.31 kB / 0.5456 GB, free: 33.53 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.01117, allocations: 23.67 kB / 0.5456 GB, free: 33.51 MB / 490.8 MB Notification: Performance of SimCode: time 5.51e-07/0.01117, allocations: 4 kB / 0.5456 GB, free: 33.5 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.02779, allocations: 3.446 MB / 0.549 GB, free: 32.48 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/6.675, allocations: 2.734 kB / 0.549 GB, free: 32.48 MB / 490.8 MB " [Timeout remaining time 793] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins/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: 9.387185089290142]