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.001701/0.001701, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.002167/0.002167, allocations: 214 kB / 23 MB, free: 5.113 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.8743/0.8743, allocations: 134 MB / 447.2 MB, free: 10.21 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.002022/0.002022, allocations: 70.8 kB / 0.6198 GB, free: 6.785 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.203, allocations: 85.9 MB / 0.7037 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003617/0.2066, allocations: 2.01 MB / 0.7056 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.208, allocations: 0.7518 MB / 0.7063 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.2081, allocations: 4 kB / 0.7064 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.2084, allocations: 87.62 kB / 0.7064 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.2085, allocations: 83.58 kB / 0.7065 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006028/0.2091, allocations: 195 kB / 0.7067 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.2095, allocations: 255.4 kB / 0.7069 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.2097, allocations: 57.91 kB / 0.707 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.2098, allocations: 119.6 kB / 0.7071 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.2101, allocations: 159.5 kB / 0.7073 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.2101, allocations: 20 kB / 0.7073 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.2103, allocations: 99.92 kB / 0.7074 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.793e-05/0.2104, allocations: 55.78 kB / 0.7074 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2105, allocations: 111.3 kB / 0.7075 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.2109, allocations: 310.8 kB / 0.7078 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2109, allocations: 0 / 0.7078 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2109, allocations: 0 / 0.7078 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.211, allocations: 4 kB / 0.7078 GB, free: 12.66 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.00093/0.2119, allocations: 0.5102 MB / 0.7083 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2119, allocations: 12.03 kB / 0.7083 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.212, allocations: 28.75 kB / 0.7084 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.2125, allocations: 241.2 kB / 0.7086 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.2125, allocations: 16.12 kB / 0.7086 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.2126, allocations: 15.94 kB / 0.7086 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.213, allocations: 223.2 kB / 0.7088 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.213, allocations: 3.938 kB / 0.7089 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.213, allocations: 7.984 kB / 0.7089 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.213, allocations: 4 kB / 0.7089 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.2133, allocations: 136.3 kB / 0.709 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009628/0.2143, allocations: 0.6487 MB / 0.7096 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.2146, allocations: 154.5 kB / 0.7098 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.2148, allocations: 92.95 kB / 0.7099 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.2148, allocations: 0 / 0.7099 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003072/0.2151, allocations: 175.2 kB / 0.71 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.2151, allocations: 0 / 0.71 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0007328/0.2159, allocations: 375.1 kB / 0.7104 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/0.216, allocations: 132.5 kB / 0.7105 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.2163, allocations: 281.8 kB / 0.7108 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.2163, allocations: 29.7 kB / 0.7108 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2165, allocations: 156.3 kB / 0.711 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.2165, allocations: 39.69 kB / 0.711 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.2166, allocations: 45.64 kB / 0.711 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2168, allocations: 346.8 kB / 0.7114 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.2169, allocations: 83.95 kB / 0.7115 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.2171, allocations: 125.1 kB / 0.7116 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.2175, allocations: 245.3 kB / 0.7118 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2175, allocations: 0 / 0.7118 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005389/0.2181, allocations: 343 kB / 0.7121 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.2181, allocations: 37.69 kB / 0.7122 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2181, allocations: 0 / 0.7122 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2181, allocations: 4.094 kB / 0.7122 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.2183, allocations: 31.91 kB / 0.7122 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2183, allocations: 0 / 0.7122 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2184, allocations: 31.81 kB / 0.7122 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.2184, allocations: 4 kB / 0.7122 GB, free: 7.852 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.0002112/0.2186, allocations: 187.5 kB / 0.7124 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.2187, allocations: 23.86 kB / 0.7124 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.2187, allocations: 41.77 kB / 0.7125 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2187, allocations: 3.938 kB / 0.7125 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2187, allocations: 3.938 kB / 0.7125 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2187, allocations: 3.938 kB / 0.7125 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.219, allocations: 264.5 kB / 0.7127 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.219, allocations: 0 / 0.7127 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.2191, allocations: 12.09 kB / 0.7128 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.2191, allocations: 7.938 kB / 0.7128 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2192, allocations: 7.984 kB / 0.7128 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2192, allocations: 4 kB / 0.7128 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2192, allocations: 4 kB / 0.7128 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.2199, allocations: 469.1 kB / 0.7132 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.22, allocations: 23.84 kB / 0.7132 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.22, allocations: 4 kB / 0.7133 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2201, allocations: 15.98 kB / 0.7133 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.2202, allocations: 31.95 kB / 0.7133 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.2202, allocations: 4 kB / 0.7133 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002149/0.2204, allocations: 201.2 kB / 0.7135 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2204, allocations: 0 / 0.7135 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002821/0.2207, allocations: 63.88 kB / 0.7136 GB, free: 6.422 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.0002134/0.2209, allocations: 131.2 kB / 0.7137 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.2214, allocations: 255.2 kB / 0.7139 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2214, allocations: 4 kB / 0.7139 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.2217, allocations: 151.3 kB / 0.7141 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.222, allocations: 30.89 kB / 0.7141 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008886/0.2229, allocations: 494.2 kB / 0.7146 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.2233, allocations: 0.7536 MB / 0.7153 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.2234, allocations: 23.38 kB / 0.7153 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.2234, allocations: 0 / 0.7153 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of Templates: time 0.00576/0.2291, allocations: 3.004 MB / 0.7183 GB, free: 1.523 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: 8.821060168091208] Failed to read output from testmodel.py, exit status != 0: 0.23711513890884817 0.253027769 0.038935088 Calling exit ...