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.001126/0.001126, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00176/0.002885, allocations: 440 kB / 10.41 MB, free: 284 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.001189/0.001189, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.002718, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.078/1.078, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09277/1.171, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.7592/0.7592, allocations: 155.3 MB / 399.5 MB, free: 15.79 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.2891/1.048, allocations: 49.13 MB / 448.6 MB, free: 5.906 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.393e-06/1.393e-06, allocations: 0 / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.654e-05, allocations: 3.578 kB / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002203/0.002219, allocations: 2.025 MB / 452 MB, free: 2.613 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008819/0.003101, allocations: 0.7394 MB / 452.7 MB, free: 1.879 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.003202, allocations: 4 kB / 452.7 MB, free: 1.875 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.003351, allocations: 92.2 kB / 452.8 MB, free: 1.789 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.003457, allocations: 105.8 kB / 452.9 MB, free: 1.695 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.003828, allocations: 175.4 kB / 453.1 MB, free: 1.527 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002557/0.004084, allocations: 254.7 kB / 453.3 MB, free: 1.289 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.004191, allocations: 55.91 kB / 453.4 MB, free: 1.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.004363, allocations: 177.9 kB / 453.6 MB, free: 1.059 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.004491, allocations: 107.7 kB / 453.7 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.004517, allocations: 20.62 kB / 453.7 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.004654, allocations: 103.8 kB / 453.8 MB, free: 0.832 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.136e-05/0.004715, allocations: 47.08 kB / 453.8 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.004765, allocations: 51.81 kB / 453.9 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.00498, allocations: 199.3 kB / 454.1 MB, free: 0.543 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.128e-06/0.00499, allocations: 0 / 454.1 MB, free: 0.543 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.00499, allocations: 0 / 454.1 MB, free: 0.543 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.004997, allocations: 0 / 454.1 MB, free: 0.543 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.0005145/0.005512, allocations: 0.4989 MB / 454.6 MB, free: 16 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.00554, allocations: 12.94 kB / 454.6 MB, free: 4 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.0056, allocations: 28.91 kB / 454.6 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.005799, allocations: 218.5 kB / 454.8 MB, free: 15.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.005817, allocations: 8.375 kB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.005843, allocations: 20.31 kB / 454.9 MB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.006059, allocations: 253 kB / 455.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.006065, allocations: 192 / 455.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.006077, allocations: 8.375 kB / 455.1 MB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.006083, allocations: 8.844 kB / 455.1 MB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.667e-05/0.00615, allocations: 77.66 kB / 455.2 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.006538, allocations: 456.3 kB / 455.6 MB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.006659, allocations: 142.7 kB / 455.8 MB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.006703, allocations: 67.75 kB / 455.8 MB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.006711, allocations: 0 / 455.8 MB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.00683, allocations: 149.6 kB / 456 MB, free: 14.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 9.52e-07/0.006831, allocations: 1.188 kB / 456 MB, free: 14.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001879/0.007019, allocations: 218.6 kB / 456.2 MB, free: 14.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.007073, allocations: 171.3 kB / 456.4 MB, free: 14.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.007194, allocations: 228.9 kB / 456.6 MB, free: 13.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.007211, allocations: 33.7 kB / 456.6 MB, free: 13.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.007263, allocations: 133.7 kB / 456.8 MB, free: 13.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.007289, allocations: 47.62 kB / 456.8 MB, free: 13.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.007334, allocations: 47.05 kB / 456.9 MB, free: 13.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.007482, allocations: 338.8 kB / 457.2 MB, free: 13.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.007524, allocations: 56.52 kB / 457.2 MB, free: 13.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.007597, allocations: 155.2 kB / 457.4 MB, free: 12.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.024e-05/0.007688, allocations: 157.2 kB / 457.5 MB, free: 12.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.00769, allocations: 0.8438 kB / 457.5 MB, free: 12.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000131/0.007821, allocations: 181 kB / 457.7 MB, free: 12.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.007854, allocations: 45.62 kB / 457.8 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.007857, allocations: 0.7812 kB / 457.8 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.007867, allocations: 4 kB / 457.8 MB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.007938, allocations: 28.75 kB / 457.8 MB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.007941, allocations: 0 / 457.8 MB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.007996, allocations: 20.78 kB / 457.8 MB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.008007, allocations: 12 kB / 457.8 MB, free: 12.44 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 8.516e-05/0.008093, allocations: 151.6 kB / 458 MB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.008114, allocations: 23.98 kB / 458 MB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.008146, allocations: 30.33 kB / 458 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008148, allocations: 1.125 kB / 458 MB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.00815, allocations: 4.562 kB / 458 MB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.008154, allocations: 4.609 kB / 458 MB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.008255, allocations: 129.7 kB / 458.2 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.008257, allocations: 4.625 kB / 458.2 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.008306, allocations: 20.75 kB / 458.2 MB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.008322, allocations: 19.84 kB / 458.2 MB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.008324, allocations: 0.6562 kB / 458.2 MB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.008335, allocations: 7.938 kB / 458.2 MB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008336, allocations: 1.75 kB / 458.2 MB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008337, allocations: 0 / 458.2 MB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.00854, allocations: 281.5 kB / 458.5 MB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.008563, allocations: 8 kB / 458.5 MB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.008601, allocations: 13.61 kB / 458.5 MB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.00865, allocations: 29.2 kB / 458.5 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.008662, allocations: 7.984 kB / 458.6 MB, free: 11.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.188e-05/0.008713, allocations: 74.78 kB / 458.6 MB, free: 11.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008713, allocations: 0.625 kB / 458.6 MB, free: 11.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.008866, allocations: 59.89 kB / 458.7 MB, free: 11.52 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.0001211/0.008987, allocations: 125.7 kB / 458.8 MB, free: 11.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.009153, allocations: 213.1 kB / 459 MB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.00916, allocations: 4 kB / 459 MB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.009243, allocations: 149.9 kB / 459.2 MB, free: 10.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.009429, allocations: 230 kB / 459.4 MB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.009965, allocations: 417.8 kB / 459.8 MB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.01001, allocations: 88.78 kB / 459.9 MB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.716e-05/0.01005, allocations: 18.12 kB / 459.9 MB, free: 10.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.01016, allocations: 99.34 kB / 460 MB, free: 10.07 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01016, allocations: 1.406 kB / 460 MB, free: 10.07 MB / 442.7 MB Notification: Performance of Templates: time 0.004492/0.01465, allocations: 3.198 MB / 463.2 MB, free: 7.113 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.676724135875702]