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.0007181/0.0007181, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 13.93 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.0006906/0.0006906, allocations: 212.1 kB / 23 MB, free: 2.973 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.8744/0.8744, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198: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 master/package.mo): time 0.7198/0.7198, allocations: 203.8 MB / 0.5049 GB, free: 10.39 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 68.83 kB / 0.7194 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4822, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002223/0.4844, allocations: 1.921 MB / 0.8209 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.4854, allocations: 0.6997 MB / 0.8216 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.4855, allocations: 6.531 kB / 0.8216 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.4858, allocations: 83.17 kB / 0.8217 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.4859, allocations: 94.38 kB / 0.8217 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.4864, allocations: 183.2 kB / 0.8219 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.4867, allocations: 261.6 kB / 0.8222 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.4868, allocations: 57.23 kB / 0.8222 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.4869, allocations: 112.1 kB / 0.8223 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.4871, allocations: 163.3 kB / 0.8225 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.4871, allocations: 18.84 kB / 0.8225 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.4872, allocations: 90.33 kB / 0.8226 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.4873, allocations: 49.55 kB / 0.8226 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.4874, allocations: 87.73 kB / 0.8227 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.4877, allocations: 313.8 kB / 0.823 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4877, allocations: 0.5625 kB / 0.823 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4877, allocations: 0 / 0.823 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4877, allocations: 5.344 kB / 0.823 GB, free: 14.94 MB / 0.6198 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.0006754/0.4884, allocations: 0.5115 MB / 0.8235 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4885, allocations: 9.344 kB / 0.8235 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.4885, allocations: 36.44 kB / 0.8236 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.4889, allocations: 240.5 kB / 0.8238 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.4889, allocations: 10.88 kB / 0.8238 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.4889, allocations: 13.56 kB / 0.8238 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.4893, allocations: 319.4 kB / 0.8241 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.4893, allocations: 5.109 kB / 0.8241 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4893, allocations: 10.28 kB / 0.8241 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4893, allocations: 2.438 kB / 0.8241 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.4895, allocations: 161.5 kB / 0.8243 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.4901, allocations: 0.5792 MB / 0.8249 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.4904, allocations: 183.9 kB / 0.825 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4905, allocations: 126.9 kB / 0.8252 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.4905, allocations: 1.188 kB / 0.8252 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.4907, allocations: 198.9 kB / 0.8253 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.4907, allocations: 5.094 kB / 0.8254 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0005159/0.4913, allocations: 431.2 kB / 0.8258 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.4913, allocations: 134.2 kB / 0.8259 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.4915, allocations: 266.2 kB / 0.8261 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4915, allocations: 37.05 kB / 0.8262 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.4916, allocations: 158.7 kB / 0.8263 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.4917, allocations: 46.3 kB / 0.8264 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.4917, allocations: 44.75 kB / 0.8264 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.4918, allocations: 334.4 kB / 0.8267 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.4919, allocations: 120.7 kB / 0.8269 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.4921, allocations: 220.7 kB / 0.8271 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.4923, allocations: 245.6 kB / 0.8273 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4923, allocations: 0 / 0.8273 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003551/0.4927, allocations: 372.3 kB / 0.8277 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.4927, allocations: 40.89 kB / 0.8277 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4927, allocations: 0 / 0.8277 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.4927, allocations: 2.375 kB / 0.8277 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.4928, allocations: 29.58 kB / 0.8277 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4928, allocations: 2.078 kB / 0.8277 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.4929, allocations: 22.52 kB / 0.8277 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.4929, allocations: 10.72 kB / 0.8278 GB, free: 11.51 MB / 0.6198 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.0001283/0.493, allocations: 193.3 kB / 0.8279 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.493, allocations: 28.83 kB / 0.828 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.4931, allocations: 25.42 kB / 0.828 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4931, allocations: 2.234 kB / 0.828 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.4931, allocations: 4 kB / 0.828 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4931, allocations: 1.953 kB / 0.828 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4933, allocations: 210.3 kB / 0.8282 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4933, allocations: 1.281 kB / 0.8282 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.4933, allocations: 18.94 kB / 0.8282 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4933, allocations: 0.6562 kB / 0.8282 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4933, allocations: 3.609 kB / 0.8282 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4933, allocations: 1.922 kB / 0.8282 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4933, allocations: 0 / 0.8282 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005286/0.4939, allocations: 0.5384 MB / 0.8288 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.4939, allocations: 19.12 kB / 0.8288 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.4939, allocations: 9.172 kB / 0.8288 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.494, allocations: 11.3 kB / 0.8288 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/0.494, allocations: 24.97 kB / 0.8288 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4941, allocations: 9.891 kB / 0.8288 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001366/0.4942, allocations: 192.3 kB / 0.829 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4942, allocations: 0 / 0.829 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002241/0.4944, allocations: 60.36 kB / 0.8291 GB, free: 10.7 MB / 0.6198 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.0001475/0.4946, allocations: 131.6 kB / 0.8292 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.4949, allocations: 324.2 kB / 0.8295 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4949, allocations: 1.5 kB / 0.8295 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.4951, allocations: 188.6 kB / 0.8297 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.4953, allocations: 45.8 kB / 0.8297 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.496, allocations: 0.5047 MB / 0.8302 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.4961, allocations: 148.8 kB / 0.8304 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.4962, allocations: 25.92 kB / 0.8304 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.4962, allocations: 0 / 0.8304 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of Templates: time 0.004497/0.5007, allocations: 3.032 MB / 0.8333 GB, free: 9.512 MB / 0.6198 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.799610962159932] Failed to read output from testmodel.py, exit status != 0: 0.5067523904144764 0.51561961 0.025897677 Calling exit ...