Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.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.01045/0.01045, allocations: 1.771 MB / 18.82 MB, free: 4.355 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.001257/0.001257, allocations: 99.72 kB / 22.07 MB, free: 1.109 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.001653/0.001653, allocations: 215.8 kB / 25.46 MB, free: 3.344 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.439/1.439, allocations: 230.6 MB / 259.2 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.075/1.075, allocations: 130.6 MB / 446.3 MB, free: 14.69 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.testTableGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testTableGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.testTableGain,fileNamePrefix="ClaRa_ClaRa_Components_Utilities_Blocks_Check_testTableGain",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.3953/0.3953, allocations: 46.14 MB / 0.6552 GB, free: 30.25 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.5754, allocations: 89.06 MB / 0.7421 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testTableGain): time 0.003888/0.5793, allocations: 2.386 MB / 0.7445 GB, free: 320 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.5804, allocations: 0.6312 MB / 0.7451 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.5805, allocations: 3.938 kB / 0.7451 GB, free: 15.67 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.5808, allocations: 87.64 kB / 0.7452 GB, free: 15.59 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.5812, allocations: 139.4 kB / 0.7453 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.5816, allocations: 195 kB / 0.7455 GB, free: 15.26 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.5819, allocations: 175.4 kB / 0.7457 GB, free: 15.09 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.582, allocations: 17.55 kB / 0.7457 GB, free: 15.07 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.5821, allocations: 71.69 kB / 0.7457 GB, free: 15 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.5823, allocations: 95.59 kB / 0.7458 GB, free: 14.91 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.5823, allocations: 8 kB / 0.7458 GB, free: 14.9 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.5824, allocations: 35.98 kB / 0.7459 GB, free: 14.86 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.5825, allocations: 51.83 kB / 0.7459 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.5825, allocations: 63.48 kB / 0.746 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.5828, allocations: 179.2 kB / 0.7462 GB, free: 14.57 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5828, allocations: 4 kB / 0.7462 GB, free: 14.57 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5828, allocations: 0 / 0.7462 GB, free: 14.57 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.5828, allocations: 0 / 0.7462 GB, free: 14.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000712/0.5835, allocations: 0.5008 MB / 0.7466 GB, free: 14.02 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5836, allocations: 12.03 kB / 0.7467 GB, free: 14.01 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.013e-05/0.5836, allocations: 4.188 kB / 0.7467 GB, free: 14.01 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.5836, allocations: 46.67 kB / 0.7467 GB, free: 13.95 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.5837, allocations: 24.8 kB / 0.7467 GB, free: 13.93 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.584, allocations: 259.9 kB / 0.747 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.584, allocations: 384 / 0.747 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.584, allocations: 12.12 kB / 0.747 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.5843, allocations: 77.59 kB / 0.7471 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5843, allocations: 0 / 0.7471 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5843, allocations: 3.938 kB / 0.7471 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5843, allocations: 8 kB / 0.7471 GB, free: 13.53 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.5845, allocations: 59.94 kB / 0.7471 GB, free: 13.47 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.5851, allocations: 376.7 kB / 0.7475 GB, free: 13.05 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.5853, allocations: 86.62 kB / 0.7476 GB, free: 12.96 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.5854, allocations: 36.83 kB / 0.7476 GB, free: 12.92 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.5854, allocations: 0 / 0.7476 GB, free: 12.92 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5855, allocations: 34.56 kB / 0.7476 GB, free: 12.88 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5855, allocations: 3.938 kB / 0.7476 GB, free: 12.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5): time 0.0004528/0.5859, allocations: 145.5 kB / 0.7478 GB, free: 12.73 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.586, allocations: 51.41 kB / 0.7478 GB, free: 12.66 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.5863, allocations: 330.6 kB / 0.7482 GB, free: 12.33 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.5863, allocations: 25.7 kB / 0.7482 GB, free: 12.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.5864, allocations: 136 kB / 0.7483 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.5865, allocations: 15.86 kB / 0.7483 GB, free: 12.15 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.5865, allocations: 17.72 kB / 0.7483 GB, free: 12.12 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.5866, allocations: 338.8 kB / 0.7487 GB, free: 11.79 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.5868, allocations: 31.97 kB / 0.7487 GB, free: 11.75 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.349e-05/0.5869, allocations: 27.98 kB / 0.7487 GB, free: 11.73 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.5871, allocations: 68.8 kB / 0.7488 GB, free: 11.66 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5871, allocations: 0 / 0.7488 GB, free: 11.66 MB / 0.5607 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002629/0.5873, allocations: 109.9 kB / 0.7489 GB, free: 11.54 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5873, allocations: 11.98 kB / 0.7489 GB, free: 11.53 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.5873, allocations: 0 / 0.7489 GB, free: 11.53 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5874, allocations: 0 / 0.7489 GB, free: 11.53 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5875, allocations: 16 kB / 0.7489 GB, free: 11.52 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.5875, allocations: 11.97 kB / 0.7489 GB, free: 11.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.5876, allocations: 15.83 kB / 0.7489 GB, free: 11.49 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.5876, allocations: 0 / 0.7489 GB, free: 11.49 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 (5): * Single equations (assignments): 5 * 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.0001185/0.5877, allocations: 134.7 kB / 0.7491 GB, free: 11.35 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.5877, allocations: 27.86 kB / 0.7491 GB, free: 11.32 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.5881, allocations: 126.9 kB / 0.7492 GB, free: 11.19 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5881, allocations: 4 kB / 0.7492 GB, free: 11.19 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5881, allocations: 0 / 0.7492 GB, free: 11.19 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5881, allocations: 3.938 kB / 0.7492 GB, free: 11.18 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.5883, allocations: 241.5 kB / 0.7495 GB, free: 10.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5883, allocations: 0 / 0.7495 GB, free: 10.9 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.5884, allocations: 11.98 kB / 0.7495 GB, free: 10.89 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5884, allocations: 0 / 0.7495 GB, free: 10.89 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5884, allocations: 8 kB / 0.7495 GB, free: 10.88 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5884, allocations: 0 / 0.7495 GB, free: 10.88 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5884, allocations: 0 / 0.7495 GB, free: 10.88 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.5887, allocations: 211.3 kB / 0.7497 GB, free: 10.66 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.5888, allocations: 93.02 kB / 0.7498 GB, free: 10.55 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.5888, allocations: 7.875 kB / 0.7498 GB, free: 10.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.872e-05/0.5889, allocations: 11.98 kB / 0.7498 GB, free: 10.53 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.589, allocations: 7.938 kB / 0.7498 GB, free: 10.52 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.589, allocations: 0 / 0.7498 GB, free: 10.52 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0002396/0.5892, allocations: 241.9 kB / 0.75 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of sort global known variables: time 7e-08/0.5892, allocations: 0 / 0.75 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0002457/0.5895, allocations: 23.94 kB / 0.75 GB, free: 10.26 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001795/0.5912, allocations: 0.9874 MB / 0.751 GB, free: 9.387 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.5915, allocations: 75.88 kB / 0.7511 GB, free: 9.312 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5915, allocations: 0 / 0.7511 GB, free: 9.312 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.5916, allocations: 35.97 kB / 0.7511 GB, free: 9.277 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.5921, allocations: 43.03 kB / 0.7512 GB, free: 9.238 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.5946, allocations: 2.025 MB / 0.7531 GB, free: 7.117 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.5949, allocations: 0.7356 MB / 0.7539 GB, free: 6.352 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 8.086e-05/0.595, allocations: 33.12 kB / 0.7539 GB, free: 6.32 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.5951, allocations: 51.42 kB / 0.7539 GB, free: 6.27 MB / 0.5607 GB Notification: Performance of SimCode: time 3.21e-07/0.5951, allocations: 3.938 kB / 0.7539 GB, free: 6.266 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.6142, allocations: 4.144 MB / 0.758 GB, free: 2.168 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/9.05, allocations: 14.34 kB / 0.758 GB, free: 2.156 MB / 0.5607 GB " [Timeout remaining time 791] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain_res.mat --tempDir=temp_ClaRa_ClaRa_Components_Utilities_Blocks_Check_testTableGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Components_Utilities_Blocks_Check_testTableGain.fmu > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testTableGain.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 12.789771548996214] Failed to read output from testmodel.py, exit status != 0: 9.227565486973617 9.243193402 8.655582669 Calling exit ...