Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json 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.003892/0.003892, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001565/0.005458, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007792/0.0007792, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001069/0.001848, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9885/0.9885, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1406/1.129, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7958/0.7958, allocations: 155.3 MB / 399.2 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2647/1.06, allocations: 49.13 MB / 448.4 MB, free: 6 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 449.7 MB, free: 4.734 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.318e-06/1.058e-05, allocations: 7.984 kB / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00289/0.002901, allocations: 2.012 MB / 451.7 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009386/0.00384, allocations: 0.7383 MB / 452.4 MB, free: 2.008 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.003948, allocations: 5.406 kB / 452.4 MB, free: 2.004 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.004133, allocations: 89.66 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.00425, allocations: 106.9 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.004615, allocations: 177.4 kB / 452.8 MB, free: 1.652 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.004886, allocations: 260.9 kB / 453.1 MB, free: 1.406 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005012, allocations: 45.91 kB / 453.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.005198, allocations: 183.6 kB / 453.3 MB, free: 1.18 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.005345, allocations: 111.7 kB / 453.4 MB, free: 1.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.005371, allocations: 20 kB / 453.4 MB, free: 1.051 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.005502, allocations: 91.94 kB / 453.5 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.005557, allocations: 47.8 kB / 453.5 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.005616, allocations: 47.88 kB / 453.6 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.005848, allocations: 207.2 kB / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.735e-05/0.005866, allocations: 0.9062 kB / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.005866, allocations: 0 / 453.8 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.005892, allocations: 1.781 kB / 453.8 MB, free: 0.6641 MB / 426.7 MB 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.000653/0.006545, allocations: 0.5028 MB / 454.3 MB, free: 136 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006581, allocations: 12.03 kB / 454.3 MB, free: 124 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.006634, allocations: 24.92 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.006917, allocations: 215.5 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.006942, allocations: 8.375 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.006971, allocations: 16.38 kB / 454.6 MB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.007233, allocations: 260.7 kB / 454.8 MB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.007245, allocations: 5.438 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.007258, allocations: 5.031 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.007266, allocations: 7.938 kB / 454.8 MB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.994e-05/0.007346, allocations: 69.64 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.00781, allocations: 464.6 kB / 455.4 MB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.007972, allocations: 141.2 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.008037, allocations: 65.27 kB / 455.6 MB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.008048, allocations: 5.172 kB / 455.6 MB, free: 14.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.008215, allocations: 149.6 kB / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.008216, allocations: 0 / 455.7 MB, free: 14.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002119/0.008428, allocations: 221.3 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.008468, allocations: 85.11 kB / 456 MB, free: 14.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.008594, allocations: 229.9 kB / 456.2 MB, free: 14.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.008612, allocations: 29.7 kB / 456.3 MB, free: 13.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.008674, allocations: 140.8 kB / 456.4 MB, free: 13.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.008707, allocations: 48.84 kB / 456.5 MB, free: 13.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.008755, allocations: 41.69 kB / 456.5 MB, free: 13.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.008858, allocations: 334.8 kB / 456.8 MB, free: 13.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.008904, allocations: 57.95 kB / 456.9 MB, free: 13.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.23e-05/0.008986, allocations: 150.2 kB / 457 MB, free: 13.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.009093, allocations: 152.8 kB / 457.2 MB, free: 12.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009095, allocations: 1.188 kB / 457.2 MB, free: 12.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001465/0.009241, allocations: 188.5 kB / 457.4 MB, free: 12.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.009282, allocations: 45.62 kB / 457.4 MB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.009286, allocations: 0.7812 kB / 457.4 MB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.009296, allocations: 0 / 457.4 MB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.009376, allocations: 24.86 kB / 457.4 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.00938, allocations: 4 kB / 457.4 MB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.009442, allocations: 24.88 kB / 457.5 MB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.009455, allocations: 4 kB / 457.5 MB, free: 12.68 MB / 442.7 MB 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 9.964e-05/0.009555, allocations: 163.5 kB / 457.6 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.009575, allocations: 20.67 kB / 457.6 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.009613, allocations: 29.7 kB / 457.7 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.009616, allocations: 8.562 kB / 457.7 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.009618, allocations: 0 / 457.7 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.009621, allocations: 0.625 kB / 457.7 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.009749, allocations: 134.3 kB / 457.8 MB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.00975, allocations: 0 / 457.8 MB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.009812, allocations: 20.8 kB / 457.8 MB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.00983, allocations: 19.86 kB / 457.9 MB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.009832, allocations: 0.5312 kB / 457.9 MB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.009845, allocations: 7.938 kB / 457.9 MB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.009847, allocations: 5.672 kB / 457.9 MB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009848, allocations: 0 / 457.9 MB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.0101, allocations: 271.7 kB / 458.1 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.01012, allocations: 11.94 kB / 458.1 MB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.01017, allocations: 16.89 kB / 458.2 MB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.01023, allocations: 31.83 kB / 458.2 MB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.01024, allocations: 4.594 kB / 458.2 MB, free: 11.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.91e-05/0.0103, allocations: 75.39 kB / 458.3 MB, free: 11.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0103, allocations: 4 kB / 458.3 MB, free: 11.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.01045, allocations: 58.23 kB / 458.3 MB, free: 11.75 MB / 442.7 MB 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.0001504/0.0106, allocations: 113.7 kB / 458.4 MB, free: 11.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.01081, allocations: 217.2 kB / 458.7 MB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.01082, allocations: 4 kB / 458.7 MB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.01091, allocations: 144.5 kB / 458.8 MB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.01107, allocations: 48.06 kB / 458.8 MB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.01164, allocations: 425.1 kB / 459.3 MB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.01169, allocations: 88.84 kB / 459.3 MB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.191e-05/0.01174, allocations: 16.67 kB / 459.4 MB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.01186, allocations: 91.36 kB / 459.5 MB, free: 10.52 MB / 442.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01186, allocations: 0 / 459.5 MB, free: 10.52 MB / 442.7 MB Notification: Performance of Templates: time 0.004805/0.01666, allocations: 3.229 MB / 462.7 MB, free: 7.539 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6145508950576186]