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.08753/0.08753, allocations: 9.133 MB / 28.99 MB, free: 412 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.001026/0.001026, allocations: 94.64 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.001337/0.001337, allocations: 171.8 kB / 38.73 MB, free: 2.387 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.004/1.004, allocations: 177.2 MB / 219.2 MB, free: 10.14 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.006248/0.006248, allocations: 0.8288 MB / 276.5 MB, free: 0.7695 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.736/1.736, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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 2.455e-06/2.455e-06, allocations: 0 / 0.6378 GB, free: 14.17 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.625e-05/3.87e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004537/0.004576, allocations: 1.959 MB / 0.6398 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.006382, allocations: 0.7358 MB / 0.6405 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.006577, allocations: 4 kB / 0.6405 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.006908, allocations: 95.56 kB / 0.6406 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.007091, allocations: 83.58 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008591/0.00795, allocations: 191.5 kB / 0.6408 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.008405, allocations: 263.3 kB / 0.6411 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.008599, allocations: 54.77 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.00889, allocations: 159.7 kB / 0.6413 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.009181, allocations: 115.7 kB / 0.6414 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 5.186e-05/0.009233, allocations: 20 kB / 0.6414 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.009427, allocations: 87.92 kB / 0.6415 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.009535, allocations: 51.78 kB / 0.6415 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.00964, allocations: 67.77 kB / 0.6416 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.01014, allocations: 219.3 kB / 0.6418 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.01014, allocations: 4 kB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.223e-06/0.01015, allocations: 0 / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.01015, allocations: 0 / 0.6418 GB, free: 10.05 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.0008531/0.01101, allocations: 481.1 kB / 0.6423 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.01106, allocations: 15.98 kB / 0.6423 GB, free: 9.539 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/0.01114, allocations: 28.91 kB / 0.6423 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.01146, allocations: 212.7 kB / 0.6425 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.01149, allocations: 12.38 kB / 0.6425 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.01154, allocations: 16.38 kB / 0.6426 GB, free: 9.246 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.01189, allocations: 260.3 kB / 0.6428 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.0119, allocations: 192 / 0.6428 GB, free: 8.945 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.01192, allocations: 8.375 kB / 0.6428 GB, free: 8.938 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.01193, allocations: 3.938 kB / 0.6428 GB, free: 8.934 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.01206, allocations: 76.91 kB / 0.6429 GB, free: 8.852 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.01275, allocations: 459.7 kB / 0.6433 GB, free: 8.379 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.01295, allocations: 140.1 kB / 0.6435 GB, free: 8.227 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.01302, allocations: 62.55 kB / 0.6435 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.01303, allocations: 0 / 0.6435 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.01323, allocations: 145.6 kB / 0.6437 GB, free: 7.988 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=15): time 1.923e-06/0.01323, allocations: 0 / 0.6437 GB, free: 7.988 MB / 0.6043 GB Notification: Performance of matching and sorting (n=15): time 0.0003208/0.01355, allocations: 215 kB / 0.6439 GB, free: 7.754 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.01363, allocations: 136.5 kB / 0.644 GB, free: 7.59 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.01386, allocations: 221 kB / 0.6442 GB, free: 7.363 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.01389, allocations: 33.7 kB / 0.6442 GB, free: 7.324 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.014, allocations: 140.8 kB / 0.6444 GB, free: 7.184 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.01405, allocations: 43.61 kB / 0.6444 GB, free: 7.141 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.01413, allocations: 49.62 kB / 0.6445 GB, free: 7.086 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.01427, allocations: 330.8 kB / 0.6448 GB, free: 6.754 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.602e-05/0.01436, allocations: 52.52 kB / 0.6448 GB, free: 6.695 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.01449, allocations: 150.2 kB / 0.645 GB, free: 6.512 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.01465, allocations: 149.7 kB / 0.6451 GB, free: 6.34 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01465, allocations: 0 / 0.6451 GB, free: 6.34 MB / 0.6043 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002421/0.01489, allocations: 179.2 kB / 0.6453 GB, free: 6.148 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.01495, allocations: 45.62 kB / 0.6453 GB, free: 6.098 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.01496, allocations: 0 / 0.6453 GB, free: 6.098 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.01498, allocations: 7.938 kB / 0.6453 GB, free: 6.09 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.0151, allocations: 19.98 kB / 0.6454 GB, free: 6.07 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01511, allocations: 3.938 kB / 0.6454 GB, free: 6.066 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.01521, allocations: 24.03 kB / 0.6454 GB, free: 6.043 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.01523, allocations: 8 kB / 0.6454 GB, free: 6.035 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.0001605/0.01539, allocations: 162.3 kB / 0.6455 GB, free: 5.859 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.01542, allocations: 15.98 kB / 0.6456 GB, free: 5.844 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.01548, allocations: 33.7 kB / 0.6456 GB, free: 5.812 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01548, allocations: 0 / 0.6456 GB, free: 5.812 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01548, allocations: 0 / 0.6456 GB, free: 5.812 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01549, allocations: 0 / 0.6456 GB, free: 5.812 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.01568, allocations: 133.8 kB / 0.6457 GB, free: 5.664 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01568, allocations: 0 / 0.6457 GB, free: 5.664 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.01579, allocations: 19.92 kB / 0.6457 GB, free: 5.645 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.01579, allocations: 7.984 kB / 0.6457 GB, free: 5.637 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.01581, allocations: 4 kB / 0.6457 GB, free: 5.633 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01581, allocations: 0 / 0.6457 GB, free: 5.633 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.01582, allocations: 3.938 kB / 0.6458 GB, free: 5.629 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.01636, allocations: 263.7 kB / 0.646 GB, free: 5.332 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.0164, allocations: 31.72 kB / 0.646 GB, free: 5.301 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.01644, allocations: 8 kB / 0.646 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.01652, allocations: 4 kB / 0.646 GB, free: 5.289 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.0166, allocations: 35.92 kB / 0.6461 GB, free: 5.254 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.01662, allocations: 7.984 kB / 0.6461 GB, free: 5.246 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.369e-05/0.01672, allocations: 78.77 kB / 0.6462 GB, free: 5.164 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.01672, allocations: 0 / 0.6462 GB, free: 5.164 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0003041/0.01702, allocations: 55.89 kB / 0.6462 GB, free: 5.109 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.0002492/0.01727, allocations: 116.3 kB / 0.6463 GB, free: 4.988 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.01754, allocations: 211.7 kB / 0.6465 GB, free: 4.754 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.01755, allocations: 4.188 kB / 0.6465 GB, free: 4.75 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.01768, allocations: 142.1 kB / 0.6467 GB, free: 4.59 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.01792, allocations: 40.41 kB / 0.6467 GB, free: 4.551 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007417/0.01866, allocations: 415.4 kB / 0.6471 GB, free: 4.113 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.07e-05/0.01873, allocations: 83.81 kB / 0.6472 GB, free: 4.012 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 8.125e-05/0.01881, allocations: 21.47 kB / 0.6472 GB, free: 3.992 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.01898, allocations: 95.36 kB / 0.6473 GB, free: 3.898 MB / 0.6043 GB Notification: Performance of SimCode: time 1.754e-06/0.01898, allocations: 0 / 0.6473 GB, free: 3.898 MB / 0.6043 GB Notification: Performance of Templates: time 0.006755/0.02574, allocations: 3.13 MB / 0.6503 GB, free: 0.7578 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 -lv LOG_STATS > AixLib_AixLib.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.761687600985169]