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.03988/0.03988, allocations: 9.132 MB / 28.99 MB, free: 328 kB / 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.0009573/0.0009573, allocations: 95.27 kB / 35.33 MB, free: 0.9219 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.001021/0.001021, allocations: 169.1 kB / 38.73 MB, free: 2.398 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.9339/0.9339, 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.004004/0.004004, allocations: 0.8254 MB / 276.5 MB, free: 0.7578 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.585/1.585, allocations: 274.9 MB / 0.5419 GB, free: 0.6484 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.724e-06/1.724e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.209e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.InverseXRegularized): time 0.001834/0.001856, allocations: 1.514 MB / 0.6393 GB, free: 12.61 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.002836, allocations: 0.794 MB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.002871, allocations: 0 / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.002901, allocations: 3.938 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.002957, allocations: 7.984 kB / 0.6401 GB, free: 11.8 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.003387, allocations: 123.5 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.003454, allocations: 35.91 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.478e-05/0.003528, allocations: 7.984 kB / 0.6403 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.003586, allocations: 19.92 kB / 0.6403 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.003633, allocations: 23.97 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.003647, allocations: 4 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.003924, allocations: 251.4 kB / 0.6406 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.003947, allocations: 4 kB / 0.6406 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.003965, allocations: 7.984 kB / 0.6406 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.004208, allocations: 203.5 kB / 0.6408 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004211, allocations: 3.938 kB / 0.6408 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004212, allocations: 0 / 0.6408 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.004216, allocations: 0 / 0.6408 GB, free: 11.13 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.0003432/0.004559, allocations: 280.5 kB / 0.6411 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.004594, allocations: 15.98 kB / 0.6411 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.004817, allocations: 48.88 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.208e-05/0.004899, allocations: 105.8 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.004913, allocations: 4.375 kB / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.004926, allocations: 384 / 0.6412 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.00506, allocations: 78.91 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.005066, allocations: 192 / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.005074, allocations: 384 / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.00508, allocations: 3.938 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.00511, allocations: 11.94 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.005353, allocations: 168.3 kB / 0.6415 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.926e-05/0.005432, allocations: 38.56 kB / 0.6415 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.005448, allocations: 8.922 kB / 0.6415 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.005462, allocations: 7.984 kB / 0.6415 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.005481, allocations: 30.56 kB / 0.6416 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.005482, allocations: 0 / 0.6416 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001158/0.005597, allocations: 49.56 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.005627, allocations: 55.53 kB / 0.6417 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.005682, allocations: 110.7 kB / 0.6418 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.005693, allocations: 29.7 kB / 0.6418 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.005721, allocations: 80.14 kB / 0.6419 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.005739, allocations: 7.891 kB / 0.6419 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.00577, allocations: 17.7 kB / 0.6419 GB, free: 9.859 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.005865, allocations: 314.8 kB / 0.6422 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.005886, allocations: 4 kB / 0.6422 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.52e-05/0.005901, allocations: 4 kB / 0.6422 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.005935, allocations: 16.91 kB / 0.6422 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.005938, allocations: 3.938 kB / 0.6422 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.196e-05/0.006, allocations: 37.7 kB / 0.6423 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.006011, allocations: 4 kB / 0.6423 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006016, allocations: 0 / 0.6423 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.006031, allocations: 11.86 kB / 0.6423 GB, free: 9.453 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.00611, allocations: 11.98 kB / 0.6423 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006113, allocations: 0 / 0.6423 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.006144, allocations: 16.03 kB / 0.6423 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.00615, allocations: 3.984 kB / 0.6423 GB, free: 9.422 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.783e-05/0.006208, allocations: 109.8 kB / 0.6424 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.006222, allocations: 0 / 0.6424 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.006246, allocations: 3.312 kB / 0.6424 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.006248, allocations: 3.938 kB / 0.6424 GB, free: 9.301 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.00625, allocations: 4.25 kB / 0.6424 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006253, allocations: 0 / 0.6424 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.953e-05/0.006342, allocations: 77.84 kB / 0.6425 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.006343, allocations: 0 / 0.6425 GB, free: 9.203 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.00638, allocations: 23.92 kB / 0.6425 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.006381, allocations: 0 / 0.6425 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.006386, allocations: 0 / 0.6425 GB, free: 9.18 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006388, allocations: 3.984 kB / 0.6425 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006388, allocations: 0 / 0.6425 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.167e-05/0.00648, allocations: 135.5 kB / 0.6426 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.006486, allocations: 4 kB / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.006496, allocations: 0 / 0.6426 GB, free: 9.023 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.395e-05/0.00654, allocations: 12.02 kB / 0.6427 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/0.006569, allocations: 7.938 kB / 0.6427 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.006572, allocations: 0 / 0.6427 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.578e-05/0.006588, allocations: 16.83 kB / 0.6427 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006588, allocations: 0 / 0.6427 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001368/0.006725, allocations: 19.94 kB / 0.6427 GB, free: 8.965 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.0001307/0.006856, allocations: 76.42 kB / 0.6428 GB, free: 8.883 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.039e-05/0.006926, allocations: 24.78 kB / 0.6428 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.006929, allocations: 4.062 kB / 0.6428 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.992e-05/0.006948, allocations: 8.859 kB / 0.6428 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.007078, allocations: 7.984 kB / 0.6428 GB, free: 8.832 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002517/0.007329, allocations: 124.7 kB / 0.6429 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.023e-05/0.00736, allocations: 51.36 kB / 0.643 GB, free: 8.613 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.007403, allocations: 16 kB / 0.643 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.007472, allocations: 59.38 kB / 0.6431 GB, free: 8.539 MB / 0.6043 GB Notification: Performance of SimCode: time 8.11e-07/0.007473, allocations: 0 / 0.6431 GB, free: 8.539 MB / 0.6043 GB Notification: Performance of Templates: time 0.002386/0.00986, allocations: 0.9088 MB / 0.6439 GB, free: 7.633 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 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.25040365383029]