Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.04191/0.04191, allocations: 9.129 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.0009077/0.0009077, allocations: 95.27 kB / 35.33 MB, free: 0.918 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.000999/0.000999, allocations: 164.6 kB / 38.73 MB, free: 2.395 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.9817/0.9817, 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.004194/0.004194, allocations: 0.822 MB / 276.5 MB, free: 0.7539 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.708/1.708, allocations: 274.9 MB / 0.5419 GB, free: 0.6094 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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.208e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.00123/0.001252, allocations: 0.5675 MB / 0.6384 GB, free: 13.56 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0005203/0.001772, allocations: 318.9 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.001795, allocations: 0 / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.00181, allocations: 0 / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.047e-05/0.00184, allocations: 0 / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.002204, allocations: 111.4 kB / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.767e-05/0.002252, allocations: 15.97 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.002286, allocations: 4 kB / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.826e-05/0.002315, allocations: 0 / 0.6388 GB, free: 13.12 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.002366, allocations: 7.984 kB / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.002379, allocations: 0 / 0.6388 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.002589, allocations: 179.8 kB / 0.639 GB, free: 12.94 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.002604, allocations: 3.938 kB / 0.639 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.149e-05/0.002616, allocations: 4 kB / 0.639 GB, free: 12.93 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.00276, allocations: 107.8 kB / 0.6391 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002762, allocations: 0 / 0.6391 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.033e-06/0.002764, allocations: 3.984 kB / 0.6391 GB, free: 12.82 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.002768, allocations: 0 / 0.6391 GB, free: 12.82 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002429/0.00301, allocations: 244.8 kB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.003043, allocations: 11.98 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.003067, allocations: 4.938 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.447e-05/0.003141, allocations: 105.7 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.003151, allocations: 4.375 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.003173, allocations: 4.312 kB / 0.6395 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.748e-05/0.00325, allocations: 67.95 kB / 0.6395 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.003257, allocations: 192 / 0.6395 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.003263, allocations: 384 / 0.6395 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.003267, allocations: 384 / 0.6395 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-06/0.003277, allocations: 7.938 kB / 0.6395 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.434e-05/0.003362, allocations: 57.05 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.258e-05/0.003404, allocations: 22.59 kB / 0.6396 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.105e-05/0.003415, allocations: 8.797 kB / 0.6396 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/0.003976, allocations: 183.8 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.003999, allocations: 30.56 kB / 0.6398 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.004, allocations: 0 / 0.6398 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0003899/0.00439, allocations: 185.3 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.004418, allocations: 51.41 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.004474, allocations: 102.7 kB / 0.6402 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.004486, allocations: 25.7 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.004511, allocations: 80.14 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.004532, allocations: 7.953 kB / 0.6403 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.004559, allocations: 17.7 kB / 0.6403 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.004648, allocations: 322.8 kB / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-06/0.004655, allocations: 0 / 0.6406 GB, free: 11.12 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.004674, allocations: 17.84 kB / 0.6406 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/0.004705, allocations: 29.62 kB / 0.6406 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004706, allocations: 0 / 0.6406 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.735e-05/0.004764, allocations: 45.62 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.00478, allocations: 8 kB / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.004786, allocations: 0 / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.004802, allocations: 0 / 0.6407 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.006e-05/0.004842, allocations: 4 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.004849, allocations: 7.984 kB / 0.6407 GB, free: 11 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.00486, allocations: 8.062 kB / 0.6407 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.004868, allocations: 3.938 kB / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.687e-05/0.004935, allocations: 109.8 kB / 0.6408 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-06/0.004943, allocations: 3.984 kB / 0.6408 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.768e-05/0.00503, allocations: 49.64 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005032, allocations: 48 / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.005036, allocations: 3.984 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.005042, allocations: 4 kB / 0.6409 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.484e-05/0.005097, allocations: 65.84 kB / 0.6409 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.005098, allocations: 4 kB / 0.6409 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.005125, allocations: 15.92 kB / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.005126, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.005132, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005132, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.005133, allocations: 0 / 0.641 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.947e-05/0.005213, allocations: 73.06 kB / 0.641 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-06/0.005221, allocations: 7.938 kB / 0.641 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-06/0.005229, allocations: 3.938 kB / 0.641 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.005244, allocations: 0 / 0.641 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.005256, allocations: 4 kB / 0.641 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.005261, allocations: 4.031 kB / 0.641 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.906e-06/0.005269, allocations: 4.859 kB / 0.6411 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.005269, allocations: 4 kB / 0.6411 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001342/0.005404, allocations: 27.92 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (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.0001402/0.005544, allocations: 120.3 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.324e-05/0.005597, allocations: 20.84 kB / 0.6412 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.0056, allocations: 0 / 0.6412 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.00561, allocations: 12.8 kB / 0.6412 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.124e-05/0.005671, allocations: 12.06 kB / 0.6412 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.005852, allocations: 112.6 kB / 0.6413 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.005886, allocations: 59.34 kB / 0.6414 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.864e-05/0.005905, allocations: 0 / 0.6414 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.005941, allocations: 55.38 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of SimCode: time 4.9e-07/0.005941, allocations: 0 / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of Templates: time 0.002883/0.008824, allocations: 1.477 MB / 0.6429 GB, free: 8.625 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.682280713226646]