Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.Biquadratic.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.0888/0.0888, allocations: 9.128 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.0008844/0.0008844, allocations: 91.27 kB / 35.33 MB, free: 1.07 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.0009745/0.0009745, allocations: 172.1 kB / 38.73 MB, free: 2.504 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.9806/0.9806, allocations: 177.2 MB / 219.2 MB, free: 10.07 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.004177/0.004177, allocations: 0.8261 MB / 276.5 MB, free: 0.7148 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.678/1.678, allocations: 274.9 MB / 0.5419 GB, free: 0.582 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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Biquadratic") translateModel(AixLib.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Biquadratic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.486e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Biquadratic): time 0.002947/0.002971, allocations: 1.6 MB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0003315/0.003303, allocations: 111.5 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.003343, allocations: 4 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.973e-05/0.003393, allocations: 3.938 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.003462, allocations: 11.86 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.003651, allocations: 19.97 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.445e-05/0.003736, allocations: 43.86 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.00383, allocations: 11.98 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.003899, allocations: 23.97 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.003945, allocations: 19.91 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.003962, allocations: 8 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.986e-05/0.004042, allocations: 15.98 kB / 0.6397 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.004085, allocations: 12 kB / 0.6397 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.004107, allocations: 15.92 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.004232, allocations: 47.81 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004234, allocations: 4 kB / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004235, allocations: 0 / 0.6398 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004238, allocations: 0 / 0.6398 GB, free: 12.07 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003671/0.004605, allocations: 272.7 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.004651, allocations: 15.98 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.004682, allocations: 8.938 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.004779, allocations: 117.7 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.004787, allocations: 384 / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.004795, allocations: 4.375 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.004933, allocations: 69.75 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.004941, allocations: 192 / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.004948, allocations: 384 / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004955, allocations: 4.375 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.757e-05/0.004982, allocations: 7.938 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.005229, allocations: 165.8 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 7.235e-05/0.005302, allocations: 73.31 kB / 0.6405 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.005324, allocations: 12.92 kB / 0.6405 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.005443, allocations: 28.06 kB / 0.6406 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.005467, allocations: 34.56 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.005468, allocations: 0 / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001281/0.005596, allocations: 49.56 kB / 0.6406 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/0.005776, allocations: 51.41 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.005855, allocations: 130.7 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.005867, allocations: 29.7 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.005902, allocations: 88.12 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.005919, allocations: 11.84 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.005952, allocations: 13.72 kB / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.006036, allocations: 318.8 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.006053, allocations: 6.828 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.006066, allocations: 0 / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.511e-05/0.006101, allocations: 23.89 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006103, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.926e-05/0.006172, allocations: 49.67 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.006186, allocations: 8 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.006192, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.00621, allocations: 3.938 kB / 0.6413 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.006292, allocations: 15.98 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006295, allocations: 0 / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/0.006329, allocations: 4 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.006338, allocations: 4 kB / 0.6414 GB, free: 10.31 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 (3): * Single equations (assignments): 3 * 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 6.551e-05/0.006403, allocations: 112.7 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.006428, allocations: 4 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.527e-05/0.006513, allocations: 57.61 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.006516, allocations: 3.938 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.006518, allocations: 0 / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.00652, allocations: 0 / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.006647, allocations: 81.81 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006649, allocations: 0 / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.006696, allocations: 8 kB / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.006698, allocations: 0 / 0.6416 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.006703, allocations: 3.984 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006705, allocations: 0 / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006706, allocations: 0 / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.006819, allocations: 194.2 kB / 0.6418 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.006829, allocations: 7.953 kB / 0.6418 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.006842, allocations: 0 / 0.6418 GB, free: 9.797 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.006909, allocations: 7.984 kB / 0.6418 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.00694, allocations: 0 / 0.6418 GB, free: 9.789 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.006945, allocations: 7.938 kB / 0.6418 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.366e-05/0.006969, allocations: 24.83 kB / 0.6418 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.006969, allocations: 0 / 0.6418 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002213/0.00719, allocations: 11.94 kB / 0.6419 GB, free: 9.742 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 (3): * Single equations (assignments): 3 * 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.0001063/0.007297, allocations: 84.41 kB / 0.6419 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.571e-05/0.007362, allocations: 12.86 kB / 0.642 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.007365, allocations: 0 / 0.642 GB, free: 9.633 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.519e-05/0.00739, allocations: 12.8 kB / 0.642 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.007575, allocations: 15.98 kB / 0.642 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.007858, allocations: 142.2 kB / 0.6421 GB, free: 9.434 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.233e-05/0.0079, allocations: 63.28 kB / 0.6422 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.007931, allocations: 7.859 kB / 0.6422 GB, free: 9.344 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.007989, allocations: 55.38 kB / 0.6422 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of SimCode: time 6.01e-07/0.007989, allocations: 0 / 0.6422 GB, free: 9.289 MB / 0.6043 GB Notification: Performance of Templates: time 0.00282/0.01081, allocations: 0.8069 MB / 0.643 GB, free: 8.48 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Biquadratic.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Biquadratic.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Biquadratic.sim & ./AixLib_AixLib.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.337573838885874]