Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.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.0007463/0.0007463, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.8449/0.8449, allocations: 177.2 MB / 200.2 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.0009897/0.0009897, allocations: 152.6 kB / 256.7 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02197/0.02197, allocations: 6.663 MB / 319.8 MB, free: 26.77 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 446.6 MB, free: 37.18 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.447e-05/1.566e-05, allocations: 2.281 kB / 446.6 MB, free: 37.17 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.001808/0.001823, allocations: 2.01 MB / 448.6 MB, free: 35.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.002818, allocations: 1.079 MB / 449.7 MB, free: 34.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.1e-05/0.002909, allocations: 3.938 kB / 449.7 MB, free: 34.06 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.003196, allocations: 119.5 kB / 449.8 MB, free: 33.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.003462, allocations: 159.2 kB / 450 MB, free: 33.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.00361, allocations: 107.5 kB / 450.1 MB, free: 33.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.003785, allocations: 235.1 kB / 450.3 MB, free: 33.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.003893, allocations: 25.8 kB / 450.4 MB, free: 33.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.003987, allocations: 131.6 kB / 450.5 MB, free: 33.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.004093, allocations: 99.75 kB / 450.6 MB, free: 33.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.004111, allocations: 12 kB / 450.6 MB, free: 33.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.53e-05/0.004186, allocations: 51.92 kB / 450.6 MB, free: 33.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.004235, allocations: 55.83 kB / 450.7 MB, free: 33.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.004277, allocations: 59.77 kB / 450.8 MB, free: 33.02 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.004471, allocations: 227.3 kB / 451 MB, free: 32.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.004474, allocations: 3.984 kB / 451 MB, free: 32.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004474, allocations: 0 / 451 MB, free: 32.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.004478, allocations: 3.938 kB / 451 MB, free: 32.79 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004355/0.004914, allocations: 449.1 kB / 451.4 MB, free: 32.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.004943, allocations: 8.031 kB / 451.4 MB, free: 32.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.004984, allocations: 28.73 kB / 451.5 MB, free: 32.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.005163, allocations: 194.2 kB / 451.6 MB, free: 32.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.005177, allocations: 4.609 kB / 451.7 MB, free: 32.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.0052, allocations: 12.38 kB / 451.7 MB, free: 32.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.005363, allocations: 144.1 kB / 451.8 MB, free: 31.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.005377, allocations: 11.89 kB / 451.8 MB, free: 31.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.005389, allocations: 4 kB / 451.8 MB, free: 31.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.005393, allocations: 4 kB / 451.8 MB, free: 31.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.444e-05/0.005488, allocations: 72.59 kB / 451.9 MB, free: 31.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.005904, allocations: 0.5072 MB / 452.4 MB, free: 31.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.006036, allocations: 102.6 kB / 452.5 MB, free: 31.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.006082, allocations: 32.84 kB / 452.5 MB, free: 31.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.006096, allocations: 0 / 452.5 MB, free: 31.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.0062, allocations: 91.31 kB / 452.6 MB, free: 31.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.006201, allocations: 0 / 452.6 MB, free: 31.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002233/0.006424, allocations: 157.4 kB / 452.8 MB, free: 30.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.006445, allocations: 55.41 kB / 452.8 MB, free: 30.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.006579, allocations: 285.7 kB / 453.1 MB, free: 30.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.006586, allocations: 33.7 kB / 453.1 MB, free: 30.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.00663, allocations: 144.2 kB / 453.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.006649, allocations: 43.62 kB / 453.3 MB, free: 30.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.006678, allocations: 25.72 kB / 453.4 MB, free: 30.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.045e-05/0.006708, allocations: 334.8 kB / 453.7 MB, free: 29.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.00675, allocations: 28.36 kB / 453.7 MB, free: 29.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.006796, allocations: 72.27 kB / 453.8 MB, free: 29.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.006885, allocations: 104.2 kB / 453.9 MB, free: 29.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.006887, allocations: 4 kB / 453.9 MB, free: 29.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001298/0.007017, allocations: 165.2 kB / 454 MB, free: 29.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.007029, allocations: 4 kB / 454 MB, free: 29.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.007034, allocations: 0 / 454 MB, free: 29.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.007048, allocations: 4 kB / 454.1 MB, free: 29.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.007134, allocations: 23.98 kB / 454.1 MB, free: 29.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.007138, allocations: 7.984 kB / 454.1 MB, free: 29.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.007178, allocations: 19.95 kB / 454.1 MB, free: 29.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.007185, allocations: 8 kB / 454.1 MB, free: 29.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 6.002e-05/0.007245, allocations: 139.4 kB / 454.2 MB, free: 29.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.007259, allocations: 27.8 kB / 454.3 MB, free: 29.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.007414, allocations: 143.3 kB / 454.4 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.007416, allocations: 7.938 kB / 454.4 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.007419, allocations: 0 / 454.4 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007422, allocations: 0 / 454.4 MB, free: 29.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.125e-05/0.007504, allocations: 173.2 kB / 454.6 MB, free: 28.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007505, allocations: 4 kB / 454.6 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.986e-05/0.007565, allocations: 19.98 kB / 454.6 MB, free: 28.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.007565, allocations: 0 / 454.6 MB, free: 28.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.007574, allocations: 3.938 kB / 454.6 MB, free: 28.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007575, allocations: 4 kB / 454.6 MB, free: 28.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.007576, allocations: 0 / 454.6 MB, free: 28.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.007751, allocations: 196.9 kB / 454.8 MB, free: 28.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.007765, allocations: 23.86 kB / 454.8 MB, free: 28.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.007781, allocations: 11.88 kB / 454.8 MB, free: 28.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.623e-05/0.007808, allocations: 4 kB / 454.9 MB, free: 28.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.389e-05/0.007832, allocations: 8.047 kB / 454.9 MB, free: 28.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.007842, allocations: 4 kB / 454.9 MB, free: 28.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.533e-05/0.007927, allocations: 217.2 kB / 455.1 MB, free: 28.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007928, allocations: 0 / 455.1 MB, free: 28.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.008093, allocations: 43.89 kB / 455.1 MB, free: 28.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.w,load.phi) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005829/0.008676, allocations: 441.7 kB / 455.6 MB, free: 28.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.008809, allocations: 83.89 kB / 455.6 MB, free: 28.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.00881, allocations: 256 / 455.6 MB, free: 28.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.791e-05/0.008858, allocations: 43.92 kB / 455.7 MB, free: 28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.009055, allocations: 36.47 kB / 455.7 MB, free: 27.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.009512, allocations: 495.7 kB / 456.2 MB, free: 27.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.147e-05/0.009563, allocations: 128.1 kB / 456.3 MB, free: 27.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.009592, allocations: 28.48 kB / 456.3 MB, free: 27.27 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.009593, allocations: 0 / 456.3 MB, free: 27.27 MB / 330.7 MB Notification: Performance of Templates: time 0.002601/0.01219, allocations: 2.755 MB / 459.1 MB, free: 24.53 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.Drive.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive.pipe >> ../files/HanserModelica_HanserModelica.Rotational.Drive.sim & ./HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.358478046022356] Failed to read output from testmodel.py, exit status != 0: 0.015711341984570026 0.021414709 0.015708251 Calling exit ...