Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001765/0.001765, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002048/0.002048, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8882/0.8882, allocations: 134 MB / 446.4 MB, free: 9.863 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002178/0.002178, allocations: 68.27 kB / 0.619 GB, free: 6.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1715, allocations: 85.9 MB / 0.7028 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004019/0.1755, allocations: 1.924 MB / 0.7047 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1771, allocations: 0.7051 MB / 0.7054 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.1773, allocations: 4 kB / 0.7054 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1776, allocations: 91.64 kB / 0.7055 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1778, allocations: 91.56 kB / 0.7056 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.1785, allocations: 186.9 kB / 0.7058 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.1789, allocations: 263.4 kB / 0.706 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.1791, allocations: 57.84 kB / 0.7061 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1793, allocations: 111.7 kB / 0.7062 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.1796, allocations: 151.5 kB / 0.7063 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.1797, allocations: 20 kB / 0.7063 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.1799, allocations: 95.86 kB / 0.7064 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.18, allocations: 47.84 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.1801, allocations: 91.45 kB / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.1806, allocations: 310.8 kB / 0.7069 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1806, allocations: 0 / 0.7069 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1806, allocations: 0 / 0.7069 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.1806, allocations: 4 kB / 0.7069 GB, free: 12.56 MB / 0.5294 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.001053/0.1817, allocations: 0.5102 MB / 0.7074 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1817, allocations: 12.03 kB / 0.7074 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.042e-05/0.1818, allocations: 28.75 kB / 0.7074 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.1824, allocations: 245.2 kB / 0.7076 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.1824, allocations: 20.12 kB / 0.7077 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.1824, allocations: 15.98 kB / 0.7077 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.183, allocations: 304.2 kB / 0.708 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.183, allocations: 0 / 0.708 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.183, allocations: 4 kB / 0.708 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.183, allocations: 8 kB / 0.708 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.1833, allocations: 166 kB / 0.7081 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009929/0.1843, allocations: 0.5751 MB / 0.7087 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.1847, allocations: 188.2 kB / 0.7089 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.1849, allocations: 122.7 kB / 0.709 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1849, allocations: 0 / 0.709 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.1853, allocations: 201.4 kB / 0.7092 GB, free: 10 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.1853, allocations: 0 / 0.7092 GB, free: 10 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.000832/0.1861, allocations: 442.5 kB / 0.7096 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/0.1862, allocations: 136.5 kB / 0.7097 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.1865, allocations: 265.9 kB / 0.71 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.1866, allocations: 29.7 kB / 0.71 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1867, allocations: 164.3 kB / 0.7102 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.1867, allocations: 43.62 kB / 0.7102 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.666e-05/0.1868, allocations: 45.66 kB / 0.7103 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.187, allocations: 338.8 kB / 0.7106 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.1872, allocations: 117.7 kB / 0.7107 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.1875, allocations: 213.5 kB / 0.7109 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003918/0.1879, allocations: 249.6 kB / 0.7111 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1879, allocations: 3.938 kB / 0.7111 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006728/0.1886, allocations: 380.6 kB / 0.7115 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.1886, allocations: 41.69 kB / 0.7115 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1886, allocations: 4 kB / 0.7115 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.1886, allocations: 0 / 0.7115 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1888, allocations: 23.98 kB / 0.7116 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1888, allocations: 4.094 kB / 0.7116 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.1889, allocations: 23.94 kB / 0.7116 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1889, allocations: 11.88 kB / 0.7116 GB, free: 7.34 MB / 0.5294 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.0002262/0.1892, allocations: 202.4 kB / 0.7118 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.1892, allocations: 23.86 kB / 0.7118 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.1893, allocations: 33.77 kB / 0.7119 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1893, allocations: 0 / 0.7119 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1893, allocations: 0 / 0.7119 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1893, allocations: 0 / 0.7119 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.1895, allocations: 201.2 kB / 0.712 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1895, allocations: 0 / 0.712 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1896, allocations: 15.98 kB / 0.7121 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1896, allocations: 0 / 0.7121 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.1896, allocations: 15.92 kB / 0.7121 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1896, allocations: 0 / 0.7121 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1896, allocations: 0 / 0.7121 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008424/0.1905, allocations: 0.5213 MB / 0.7126 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.1905, allocations: 23.95 kB / 0.7126 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.1906, allocations: 8 kB / 0.7126 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1907, allocations: 11.98 kB / 0.7126 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/0.1908, allocations: 27.95 kB / 0.7127 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1908, allocations: 7.984 kB / 0.7127 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002049/0.191, allocations: 197.1 kB / 0.7129 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.191, allocations: 0 / 0.7129 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002965/0.1913, allocations: 51.94 kB / 0.7129 GB, free: 5.934 MB / 0.5294 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.0002287/0.1915, allocations: 143.1 kB / 0.713 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000553/0.1921, allocations: 329 kB / 0.7134 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1921, allocations: 0 / 0.7134 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.1924, allocations: 189 kB / 0.7135 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.1927, allocations: 32.7 kB / 0.7136 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.1936, allocations: 490.2 kB / 0.714 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.1937, allocations: 140.7 kB / 0.7142 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.666e-05/0.1938, allocations: 25.36 kB / 0.7142 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.1939, allocations: 19.44 kB / 0.7142 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.1939, allocations: 0 / 0.7142 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of Templates: time 0.007822/0.2017, allocations: 3.056 MB / 0.7172 GB, free: 1.488 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.02392609231174] Failed to read output from testmodel.py, exit status != 0: 0.21038750559091568 0.22850478399999996 0.044479618000000005 Calling exit ...