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.05519/0.05519, allocations: 9.126 MB / 28.99 MB, free: 0.8086 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.001024/0.001024, allocations: 87.28 kB / 35.32 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.001515/0.001515, allocations: 164.5 kB / 38.73 MB, free: 2.508 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 1.125/1.125, allocations: 177.1 MB / 219.2 MB, free: 10.09 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.006282/0.006282, allocations: 0.82 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.78/1.78, allocations: 274.9 MB / 0.5419 GB, free: 0.6289 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 2.074e-06/2.074e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.951e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001588/0.001617, allocations: 0.5991 MB / 0.6385 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0006507/0.002268, allocations: 322.8 kB / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.002291, allocations: 0 / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.002307, allocations: 3.938 kB / 0.6388 GB, free: 13.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.848e-05/0.002336, allocations: 4 kB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.002646, allocations: 71.75 kB / 0.6389 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.106e-05/0.002687, allocations: 15.92 kB / 0.6389 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.00273, allocations: 3.984 kB / 0.6389 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.002766, allocations: 4 kB / 0.6389 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.002824, allocations: 4 kB / 0.6389 GB, free: 13.07 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.00284, allocations: 11.94 kB / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.003158, allocations: 207.5 kB / 0.6391 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.003175, allocations: 4 kB / 0.6391 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.409e-05/0.003189, allocations: 0 / 0.6391 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.003358, allocations: 111.7 kB / 0.6392 GB, free: 12.74 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00336, allocations: 4 kB / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.333e-06/0.003362, allocations: 0 / 0.6392 GB, free: 12.73 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.003367, allocations: 0 / 0.6392 GB, free: 12.73 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.0002628/0.00363, allocations: 240.8 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.003672, allocations: 11.98 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.003702, allocations: 4.938 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.05e-05/0.003793, allocations: 109.8 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.003804, allocations: 384 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.003824, allocations: 8.359 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.003928, allocations: 55.97 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.003938, allocations: 4.125 kB / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.003947, allocations: 384 / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.003953, allocations: 384 / 0.6396 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.153e-05/0.003965, allocations: 3.938 kB / 0.6396 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001015/0.004066, allocations: 65.03 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.115e-05/0.004107, allocations: 22.61 kB / 0.6397 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.119e-05/0.004119, allocations: 8.922 kB / 0.6397 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/0.00474, allocations: 175.8 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.00477, allocations: 38.56 kB / 0.6399 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.004771, allocations: 0 / 0.6399 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0005715/0.005343, allocations: 185 kB / 0.6401 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.005371, allocations: 51.41 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.005433, allocations: 98.72 kB / 0.6402 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.005444, allocations: 25.7 kB / 0.6403 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.005469, allocations: 88.14 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.005497, allocations: 8.156 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.005523, allocations: 21.7 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.005606, allocations: 314.8 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.005616, allocations: 4 kB / 0.6407 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.005633, allocations: 13.72 kB / 0.6407 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.005667, allocations: 29.62 kB / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.005668, allocations: 0 / 0.6407 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.811e-05/0.005726, allocations: 45.69 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.00574, allocations: 4 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.005745, allocations: 4.062 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.00576, allocations: 4 kB / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.755e-05/0.005798, allocations: 7.938 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.005801, allocations: 0 / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.113e-05/0.005812, allocations: 0 / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.00582, allocations: 11.92 kB / 0.6408 GB, free: 10.9 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 8.301e-05/0.005903, allocations: 105.8 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.495e-06/0.00591, allocations: 4 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.699e-05/0.005997, allocations: 49.69 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005999, allocations: 0 / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.006002, allocations: 8 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006005, allocations: 0 / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.007e-05/0.006065, allocations: 69.83 kB / 0.641 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006066, allocations: 0 / 0.641 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.006102, allocations: 11.94 kB / 0.641 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.006103, allocations: 0 / 0.641 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.006109, allocations: 0 / 0.641 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006111, allocations: 0 / 0.641 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006112, allocations: 0 / 0.641 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.272e-05/0.006194, allocations: 73.05 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.006202, allocations: 7.953 kB / 0.6411 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-06/0.00621, allocations: 7.969 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.65e-05/0.006227, allocations: 0 / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.006239, allocations: 0 / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.006244, allocations: 4 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.172e-05/0.006256, allocations: 16.83 kB / 0.6411 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006256, allocations: 0 / 0.6411 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001571/0.006413, allocations: 27.94 kB / 0.6412 GB, free: 10.47 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.0001609/0.006574, allocations: 116.3 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.481e-05/0.006639, allocations: 24.92 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.006642, allocations: 0 / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.124e-05/0.006653, allocations: 12.84 kB / 0.6413 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.572e-05/0.006729, allocations: 11.92 kB / 0.6413 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002019/0.006931, allocations: 116.5 kB / 0.6414 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.00696, allocations: 51.36 kB / 0.6415 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.006984, allocations: 4 kB / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.007024, allocations: 55.36 kB / 0.6415 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of SimCode: time 1.092e-06/0.007025, allocations: 0 / 0.6415 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of Templates: time 0.003562/0.01059, allocations: 1.481 MB / 0.643 GB, free: 8.543 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.894960368052125]