Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04194/0.04194, allocations: 9.132 MB / 28.99 MB, free: 0.8125 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0008514/0.0008514, allocations: 98.58 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001106/0.001106, allocations: 170.1 kB / 38.73 MB, free: 2.5 MB / 24.77 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.9631/0.9631, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006244/0.006244, allocations: 0.8255 MB / 276.5 MB, free: 0.7461 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.828/1.828, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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 Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized") translateModel(AixLib.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.306e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.InverseXRegularized): time 0.001921/0.001944, allocations: 1.557 MB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000986/0.00293, allocations: 0.8017 MB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.002963, allocations: 0 / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.002987, allocations: 0 / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.003034, allocations: 15.88 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.003374, allocations: 115.5 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.003436, allocations: 35.91 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.041e-05/0.003506, allocations: 7.984 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.003561, allocations: 19.98 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.396e-05/0.003605, allocations: 19.91 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.003618, allocations: 4 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002858/0.003904, allocations: 263.4 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.003916, allocations: 4 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.003932, allocations: 11.98 kB / 0.6407 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.004155, allocations: 199.5 kB / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004157, allocations: 0 / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004158, allocations: 0 / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.004161, allocations: 0 / 0.6409 GB, free: 10.99 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003104/0.004472, allocations: 280.5 kB / 0.6411 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.004504, allocations: 15.98 kB / 0.6412 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.004717, allocations: 48.88 kB / 0.6412 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.059e-05/0.004787, allocations: 105.8 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.004799, allocations: 384 / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.004807, allocations: 4.375 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.004935, allocations: 78.91 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004942, allocations: 4.172 kB / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.00495, allocations: 384 / 0.6414 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.004954, allocations: 3.938 kB / 0.6414 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.309e-05/0.004988, allocations: 11.94 kB / 0.6414 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.005224, allocations: 168.3 kB / 0.6416 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.293e-05/0.005307, allocations: 42.56 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.005325, allocations: 8.922 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.005335, allocations: 0 / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.005356, allocations: 30.56 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.005357, allocations: 0 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001072/0.005464, allocations: 49.66 kB / 0.6417 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.00549, allocations: 55.44 kB / 0.6417 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.222e-05/0.005542, allocations: 110.7 kB / 0.6418 GB, free: 9.867 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.005551, allocations: 25.7 kB / 0.6419 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.005578, allocations: 80.14 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.005595, allocations: 11.89 kB / 0.642 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.005623, allocations: 17.7 kB / 0.642 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.005696, allocations: 310.8 kB / 0.6423 GB, free: 9.406 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.00571, allocations: 4 kB / 0.6423 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.005724, allocations: 4 kB / 0.6423 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.00602, allocations: 24.83 kB / 0.6423 GB, free: 9.371 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006022, allocations: 4 kB / 0.6423 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.255e-05/0.006074, allocations: 33.7 kB / 0.6423 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.006086, allocations: 7.984 kB / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006089, allocations: 0 / 0.6423 GB, free: 9.32 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.006101, allocations: 3.938 kB / 0.6424 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.006173, allocations: 15.98 kB / 0.6424 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.006176, allocations: 3.938 kB / 0.6424 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.993e-05/0.006206, allocations: 12.02 kB / 0.6424 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.006213, allocations: 4 kB / 0.6424 GB, free: 9.281 MB / 0.6043 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 (2): * Single equations (assignments): 2 * 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 5.793e-05/0.00627, allocations: 105.8 kB / 0.6425 GB, free: 9.168 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.006287, allocations: 4 kB / 0.6425 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.00631, allocations: 7.312 kB / 0.6425 GB, free: 9.16 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.006314, allocations: 3.938 kB / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006315, allocations: 256 / 0.6425 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006318, allocations: 7.922 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.215e-05/0.0064, allocations: 73.86 kB / 0.6426 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.006401, allocations: 4 kB / 0.6426 GB, free: 9.055 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.006444, allocations: 15.97 kB / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006445, allocations: 0 / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.006451, allocations: 0 / 0.6426 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006452, allocations: 4 kB / 0.6426 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006453, allocations: 0 / 0.6426 GB, free: 9.035 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.406e-05/0.006537, allocations: 135.5 kB / 0.6427 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.006543, allocations: 4 kB / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-06/0.006552, allocations: 0 / 0.6427 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.0066, allocations: 16.02 kB / 0.6428 GB, free: 8.867 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.006631, allocations: 3.938 kB / 0.6428 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.006635, allocations: 3.984 kB / 0.6428 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.124e-05/0.006646, allocations: 12.84 kB / 0.6428 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006646, allocations: 0 / 0.6428 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001311/0.006778, allocations: 19.88 kB / 0.6428 GB, free: 8.824 MB / 0.6043 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 (2): * Single equations (assignments): 2 * 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.0001076/0.006885, allocations: 84.41 kB / 0.6429 GB, free: 8.734 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.579e-05/0.006951, allocations: 16.86 kB / 0.6429 GB, free: 8.715 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.006955, allocations: 4 kB / 0.6429 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.046e-05/0.006976, allocations: 12.84 kB / 0.6429 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.007102, allocations: 8 kB / 0.6429 GB, free: 8.688 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.007347, allocations: 120.7 kB / 0.643 GB, free: 8.543 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.993e-05/0.007377, allocations: 67.41 kB / 0.6431 GB, free: 8.457 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.007417, allocations: 8 kB / 0.6431 GB, free: 8.449 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.007469, allocations: 55.39 kB / 0.6432 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of SimCode: time 4.61e-07/0.007469, allocations: 3.938 kB / 0.6432 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of Templates: time 0.002217/0.009687, allocations: 0.9051 MB / 0.644 GB, free: 7.488 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized.sim & ./AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.484074451029301]