Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.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.05665/0.05665, allocations: 9.128 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.001029/0.001029, allocations: 90.72 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.001416/0.001416, 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.002/1.002, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.006278/0.006278, allocations: 0.8222 MB / 276.5 MB, free: 0.7227 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.839/1.839, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(AixLib.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.804e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003279/0.003307, allocations: 2.017 MB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.004537, allocations: 0.7319 MB / 0.6406 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.004671, allocations: 7.938 kB / 0.6406 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.004936, allocations: 75.64 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.005057, allocations: 99.5 kB / 0.6407 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.005644, allocations: 171.6 kB / 0.6409 GB, free: 11 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.005955, allocations: 259.4 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.006132, allocations: 50.81 kB / 0.6412 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.006362, allocations: 163.6 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.006565, allocations: 119.7 kB / 0.6415 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.006599, allocations: 20 kB / 0.6415 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.006782, allocations: 103.8 kB / 0.6416 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.006874, allocations: 59.77 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.006949, allocations: 47.86 kB / 0.6417 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.007312, allocations: 235.2 kB / 0.6419 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.007316, allocations: 0 / 0.6419 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.713e-06/0.007318, allocations: 0 / 0.6419 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.007324, allocations: 0 / 0.6419 GB, free: 9.961 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006609/0.007985, allocations: 477.1 kB / 0.6424 GB, free: 9.465 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.008031, allocations: 15.97 kB / 0.6424 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.008103, allocations: 36.86 kB / 0.6424 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.008381, allocations: 200.8 kB / 0.6426 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.00841, allocations: 12.38 kB / 0.6426 GB, free: 9.176 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.008442, allocations: 20.31 kB / 0.6426 GB, free: 9.156 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.008758, allocations: 252.4 kB / 0.6429 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.00877, allocations: 192 / 0.6429 GB, free: 8.863 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.008786, allocations: 4.375 kB / 0.6429 GB, free: 8.859 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.008799, allocations: 7.938 kB / 0.6429 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.826e-05/0.008887, allocations: 76.91 kB / 0.643 GB, free: 8.77 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.009462, allocations: 459.7 kB / 0.6434 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.009638, allocations: 140.1 kB / 0.6435 GB, free: 8.145 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.009694, allocations: 58.55 kB / 0.6436 GB, free: 8.078 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.009707, allocations: 4 kB / 0.6436 GB, free: 8.074 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.009891, allocations: 145.6 kB / 0.6437 GB, free: 7.906 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=15): time 2.905e-06/0.009894, allocations: 4 kB / 0.6437 GB, free: 7.902 MB / 0.6043 GB Notification: Performance of matching and sorting (n=15): time 0.0002633/0.01016, allocations: 214.5 kB / 0.6439 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.01022, allocations: 140.5 kB / 0.6441 GB, free: 7.5 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.01039, allocations: 225 kB / 0.6443 GB, free: 7.27 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.01041, allocations: 29.7 kB / 0.6443 GB, free: 7.234 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01051, allocations: 136.8 kB / 0.6444 GB, free: 7.098 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.01055, allocations: 43.67 kB / 0.6445 GB, free: 7.055 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.01061, allocations: 41.64 kB / 0.6445 GB, free: 7.008 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01074, allocations: 338.8 kB / 0.6449 GB, free: 6.668 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.01081, allocations: 52.53 kB / 0.6449 GB, free: 6.609 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.804e-05/0.01091, allocations: 154.2 kB / 0.645 GB, free: 6.422 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.01104, allocations: 141.6 kB / 0.6452 GB, free: 6.258 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01104, allocations: 4 kB / 0.6452 GB, free: 6.254 MB / 0.6043 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001837/0.01122, allocations: 183.4 kB / 0.6454 GB, free: 6.059 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.01126, allocations: 41.64 kB / 0.6454 GB, free: 6.012 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.01127, allocations: 4.125 kB / 0.6454 GB, free: 6.008 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.01129, allocations: 0 / 0.6454 GB, free: 6.008 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.01139, allocations: 27.92 kB / 0.6454 GB, free: 5.98 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.01139, allocations: 0 / 0.6454 GB, free: 5.98 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.01146, allocations: 23.94 kB / 0.6455 GB, free: 5.957 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.01147, allocations: 4 kB / 0.6455 GB, free: 5.953 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001271/0.0116, allocations: 162.3 kB / 0.6456 GB, free: 5.777 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.01162, allocations: 15.98 kB / 0.6456 GB, free: 5.762 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.01167, allocations: 33.64 kB / 0.6457 GB, free: 5.73 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01167, allocations: 4 kB / 0.6457 GB, free: 5.727 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01168, allocations: 0 / 0.6457 GB, free: 5.727 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01168, allocations: 0 / 0.6457 GB, free: 5.727 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.01183, allocations: 137.7 kB / 0.6458 GB, free: 5.574 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.01184, allocations: 11.98 kB / 0.6458 GB, free: 5.562 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.144e-05/0.01192, allocations: 12 kB / 0.6458 GB, free: 5.551 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01192, allocations: 0 / 0.6458 GB, free: 5.551 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.01194, allocations: 0 / 0.6458 GB, free: 5.551 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.01194, allocations: 3.984 kB / 0.6458 GB, free: 5.547 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01194, allocations: 7.938 kB / 0.6458 GB, free: 5.539 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.01227, allocations: 272 kB / 0.6461 GB, free: 5.234 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.0123, allocations: 27.78 kB / 0.6461 GB, free: 5.207 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.01233, allocations: 8 kB / 0.6461 GB, free: 5.199 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.01239, allocations: 4 kB / 0.6461 GB, free: 5.195 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.437e-05/0.01247, allocations: 35.88 kB / 0.6462 GB, free: 5.16 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.01249, allocations: 4 kB / 0.6462 GB, free: 5.156 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 7.55e-05/0.01257, allocations: 74.78 kB / 0.6462 GB, free: 5.078 MB / 0.6043 GB Notification: Performance of sort global known variables: time 4e-08/0.01257, allocations: 0 / 0.6462 GB, free: 5.078 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002165/0.01278, allocations: 63.88 kB / 0.6463 GB, free: 5.016 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0002301/0.01301, allocations: 120.5 kB / 0.6464 GB, free: 4.891 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.01329, allocations: 203.8 kB / 0.6466 GB, free: 4.664 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.0133, allocations: 4 kB / 0.6466 GB, free: 4.66 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.01343, allocations: 137.9 kB / 0.6467 GB, free: 4.504 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.01367, allocations: 40.64 kB / 0.6468 GB, free: 4.465 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007838/0.01445, allocations: 411.8 kB / 0.6472 GB, free: 4.031 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.01452, allocations: 87.75 kB / 0.6473 GB, free: 3.926 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 7.047e-05/0.01459, allocations: 17.48 kB / 0.6473 GB, free: 3.91 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.01475, allocations: 99.3 kB / 0.6474 GB, free: 3.812 MB / 0.6043 GB Notification: Performance of SimCode: time 1.113e-06/0.01475, allocations: 0 / 0.6474 GB, free: 3.812 MB / 0.6043 GB Notification: Performance of Templates: time 0.006659/0.02141, allocations: 3.129 MB / 0.6504 GB, free: 0.6758 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.607829018961638]