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.01052/0.01052, allocations: 1.77 MB / 18.12 MB, free: 4.906 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.0013/0.0013, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.001744/0.001744, allocations: 219.7 kB / 24.75 MB, free: 3.719 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.498/1.498, allocations: 230.6 MB / 258.5 MB, free: 13.12 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.094/1.094, allocations: 130.6 MB / 445.6 MB, free: 14.92 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="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: 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.4378/0.4378, allocations: 46.14 MB / 0.6545 GB, free: 30.3 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.6098, allocations: 89.06 MB / 0.7414 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003376/0.6131, allocations: 2.15 MB / 0.7435 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.614, allocations: 438.5 kB / 0.744 GB, free: 172 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.6141, allocations: 0 / 0.744 GB, free: 172 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.6142, allocations: 11.88 kB / 0.744 GB, free: 160 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.6143, allocations: 15.88 kB / 0.744 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.6148, allocations: 139.6 kB / 0.7441 GB, free: 4 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.615, allocations: 83.89 kB / 0.7442 GB, free: 15.92 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.6151, allocations: 4 kB / 0.7442 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 6.881e-05/0.6152, allocations: 39.83 kB / 0.7442 GB, free: 15.88 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.6153, allocations: 39.84 kB / 0.7443 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.6153, allocations: 8 kB / 0.7443 GB, free: 15.83 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.6155, allocations: 91.84 kB / 0.7444 GB, free: 15.74 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.6156, allocations: 23.91 kB / 0.7444 GB, free: 15.71 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.6156, allocations: 39.8 kB / 0.7444 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.6158, allocations: 123.6 kB / 0.7445 GB, free: 15.55 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6158, allocations: 0 / 0.7445 GB, free: 15.55 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6158, allocations: 3.938 kB / 0.7446 GB, free: 15.55 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6158, allocations: 3.938 kB / 0.7446 GB, free: 15.55 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.0007466/0.6166, allocations: 423 kB / 0.745 GB, free: 15.08 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.6166, allocations: 12.03 kB / 0.745 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.6167, allocations: 38.75 kB / 0.745 GB, free: 15.02 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.6167, allocations: 12.84 kB / 0.745 GB, free: 15.01 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.6169, allocations: 198.8 kB / 0.7452 GB, free: 14.78 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.617, allocations: 30.27 kB / 0.7452 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.617, allocations: 12.31 kB / 0.7453 GB, free: 14.73 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.6174, allocations: 109.9 kB / 0.7454 GB, free: 14.62 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.6174, allocations: 0 / 0.7454 GB, free: 14.62 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.6174, allocations: 11.92 kB / 0.7454 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6174, allocations: 4 kB / 0.7454 GB, free: 14.61 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.6178, allocations: 99.89 kB / 0.7455 GB, free: 14.51 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.6184, allocations: 352.7 kB / 0.7458 GB, free: 14.11 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.6187, allocations: 98.45 kB / 0.7459 GB, free: 14.01 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.6189, allocations: 68.94 kB / 0.746 GB, free: 13.94 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.619, allocations: 8 kB / 0.746 GB, free: 13.93 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.619, allocations: 30.56 kB / 0.746 GB, free: 13.89 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.619, allocations: 0 / 0.746 GB, free: 13.89 MB / 0.5607 GB Notification: Performance of matching and sorting (n=8): time 0.0007638/0.6198, allocations: 213.5 kB / 0.7462 GB, free: 13.68 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.6198, allocations: 59.34 kB / 0.7463 GB, free: 13.61 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.6199, allocations: 129.8 kB / 0.7464 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.6199, allocations: 25.7 kB / 0.7464 GB, free: 13.44 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.62, allocations: 96.08 kB / 0.7465 GB, free: 13.34 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.6201, allocations: 35.69 kB / 0.7465 GB, free: 13.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.6201, allocations: 21.72 kB / 0.7466 GB, free: 13.28 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6203, allocations: 322.8 kB / 0.7469 GB, free: 12.95 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.6205, allocations: 68.05 kB / 0.7469 GB, free: 12.89 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.6207, allocations: 59.89 kB / 0.747 GB, free: 12.83 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.6211, allocations: 136.9 kB / 0.7471 GB, free: 12.69 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6211, allocations: 0 / 0.7471 GB, free: 12.69 MB / 0.5607 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004925/0.6216, allocations: 169.5 kB / 0.7473 GB, free: 12.52 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6216, allocations: 4 kB / 0.7473 GB, free: 12.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6216, allocations: 0 / 0.7473 GB, free: 12.52 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.6216, allocations: 0 / 0.7473 GB, free: 12.52 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.6221, allocations: 75.86 kB / 0.7474 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6221, allocations: 4 kB / 0.7474 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.6222, allocations: 11.98 kB / 0.7474 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.6222, allocations: 7.984 kB / 0.7474 GB, free: 12.42 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 0.0001049/0.6223, allocations: 121.8 kB / 0.7475 GB, free: 12.29 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.6224, allocations: 11.95 kB / 0.7475 GB, free: 12.28 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.6224, allocations: 8.375 kB / 0.7475 GB, free: 12.27 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6224, allocations: 4 kB / 0.7475 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6224, allocations: 0 / 0.7475 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6224, allocations: 0 / 0.7475 GB, free: 12.26 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.6226, allocations: 201.5 kB / 0.7477 GB, free: 12.02 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6226, allocations: 0 / 0.7477 GB, free: 12.02 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.6231, allocations: 67.92 kB / 0.7478 GB, free: 11.95 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.6231, allocations: 0 / 0.7478 GB, free: 11.95 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.6231, allocations: 4 kB / 0.7478 GB, free: 11.95 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6231, allocations: 0 / 0.7478 GB, free: 11.95 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6231, allocations: 3.984 kB / 0.7478 GB, free: 11.94 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.6239, allocations: 339.2 kB / 0.7481 GB, free: 11.59 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.624, allocations: 88.98 kB / 0.7482 GB, free: 11.49 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.624, allocations: 8.031 kB / 0.7482 GB, free: 11.48 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.6241, allocations: 11.98 kB / 0.7482 GB, free: 11.47 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.6242, allocations: 3.984 kB / 0.7482 GB, free: 11.46 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.6242, allocations: 4 kB / 0.7482 GB, free: 11.46 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.6243, allocations: 106.3 kB / 0.7483 GB, free: 11.36 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/0.6243, allocations: 0 / 0.7483 GB, free: 11.36 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002892/0.6245, allocations: 35.88 kB / 0.7483 GB, free: 11.32 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.001165/0.6257, allocations: 0.8884 MB / 0.7492 GB, free: 10.41 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.6262, allocations: 135.9 kB / 0.7493 GB, free: 10.28 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6262, allocations: 4.062 kB / 0.7494 GB, free: 10.27 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.6264, allocations: 63.94 kB / 0.7494 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.0003056/0.6267, allocations: 8 kB / 0.7494 GB, free: 10.2 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.6292, allocations: 1.731 MB / 0.7511 GB, free: 8.391 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.6295, allocations: 0.7038 MB / 0.7518 GB, free: 7.66 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 6.341e-05/0.6296, allocations: 15.98 kB / 0.7518 GB, free: 7.645 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.6297, allocations: 23.44 kB / 0.7518 GB, free: 7.621 MB / 0.5607 GB Notification: Performance of SimCode: time 3.71e-07/0.6297, allocations: 0 / 0.7518 GB, free: 7.621 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.6569, allocations: 2.758 MB / 0.7545 GB, free: 4.965 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.999, allocations: 4 kB / 0.7545 GB, free: 4.961 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 & python3 -m fmpy simulate --output-file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.csv --start-time 0 --stop-time 10000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 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.csv","/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] "Error: Could not read variable Time in file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.csv. Warning: Get data of variable Time from file ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.csv failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 12.94094259000849]