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.00149/0.00149, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 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.645/1.645, allocations: 177.1 MB / 199.7 MB, free: 5.801 MB / 186.7 MB " [Timeout remaining time 178] 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.002054/0.002054, allocations: 151.8 kB / 256.3 MB, free: 13.16 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.05594/0.05594, allocations: 6.66 MB / 319.4 MB, free: 26.57 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 2.545e-06/2.545e-06, allocations: 0 / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.314e-05/4.569e-05, allocations: 5.688 kB / 390.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.006484/0.00653, allocations: 2.008 MB / 392.9 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.0101, allocations: 1.072 MB / 394 MB, free: 15.89 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.01039, allocations: 7.938 kB / 394 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.01108, allocations: 123.5 kB / 394.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.01195, allocations: 151.2 kB / 394.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.01254, allocations: 115.5 kB / 394.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005998/0.01314, allocations: 227.1 kB / 394.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.01336, allocations: 37.78 kB / 394.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.01374, allocations: 127.6 kB / 394.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.01405, allocations: 103.8 kB / 394.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.01411, allocations: 15.98 kB / 394.9 MB, free: 15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.01436, allocations: 51.92 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.01451, allocations: 47.83 kB / 395 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.01467, allocations: 55.78 kB / 395 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.01533, allocations: 235.2 kB / 395.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.01533, allocations: 4 kB / 395.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.01533, allocations: 0 / 395.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.01535, allocations: 0 / 395.2 MB, free: 14.61 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.001248/0.01659, allocations: 437.2 kB / 395.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.01665, allocations: 12.03 kB / 395.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.01681, allocations: 36.73 kB / 395.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.01743, allocations: 194.2 kB / 395.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.01747, allocations: 8.609 kB / 395.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/0.01754, allocations: 20.33 kB / 395.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.01803, allocations: 142 kB / 396.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.01806, allocations: 3.938 kB / 396.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.01809, allocations: 8 kB / 396.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.0181, allocations: 0 / 396.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.01837, allocations: 76.59 kB / 396.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.01977, allocations: 0.5189 MB / 396.7 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.02017, allocations: 90.56 kB / 396.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.0203, allocations: 40.89 kB / 396.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.02033, allocations: 0 / 396.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.02065, allocations: 99.17 kB / 396.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.02065, allocations: 0 / 396.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006812/0.02134, allocations: 157.5 kB / 397.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.02141, allocations: 51.41 kB / 397.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.02195, allocations: 289.7 kB / 397.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.02198, allocations: 25.7 kB / 397.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.02219, allocations: 148.2 kB / 397.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.121e-05/0.02226, allocations: 39.7 kB / 397.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.02238, allocations: 33.7 kB / 397.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002462/0.02263, allocations: 330.8 kB / 398 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.02277, allocations: 31.98 kB / 398 MB, free: 11.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.02295, allocations: 60.28 kB / 398 MB, free: 11.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.02327, allocations: 108.2 kB / 398.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.02328, allocations: 4 kB / 398.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005314/0.02381, allocations: 165.3 kB / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.02384, allocations: 4 kB / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.02385, allocations: 4 kB / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.315e-05/0.02388, allocations: 0 / 398.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.02413, allocations: 31.92 kB / 398.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.02414, allocations: 0 / 398.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.0243, allocations: 19.92 kB / 398.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.02432, allocations: 4 kB / 398.4 MB, free: 11.24 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 0.0002495/0.02457, allocations: 142 kB / 398.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.02465, allocations: 31.73 kB / 398.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008654/0.02552, allocations: 143.4 kB / 398.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.02553, allocations: 4 kB / 398.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.02554, allocations: 0 / 398.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.02554, allocations: 0 / 398.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.02591, allocations: 177.2 kB / 398.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02591, allocations: 0 / 398.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.0261, allocations: 16 kB / 398.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.0261, allocations: 0 / 398.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.02613, allocations: 11.94 kB / 398.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.02614, allocations: 7.984 kB / 398.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.02614, allocations: 0 / 398.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.02677, allocations: 204.8 kB / 399.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.02682, allocations: 19.83 kB / 399.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.499e-05/0.02688, allocations: 11.94 kB / 399.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.02698, allocations: 3.984 kB / 399.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.382e-05/0.02705, allocations: 4 kB / 399.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.02708, allocations: 7.984 kB / 399.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003679/0.02745, allocations: 213.2 kB / 399.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.02745, allocations: 4.062 kB / 399.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005234/0.02797, allocations: 39.94 kB / 399.4 MB, free: 10.16 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.002649/0.03062, allocations: 437.3 kB / 399.8 MB, free: 9.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005597/0.03118, allocations: 83.84 kB / 399.9 MB, free: 9.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.03119, allocations: 0 / 399.9 MB, free: 9.805 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.03137, allocations: 39.97 kB / 399.9 MB, free: 9.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.03201, allocations: 44.61 kB / 400 MB, free: 9.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.03367, allocations: 476.6 kB / 400.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.0339, allocations: 128.1 kB / 400.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.03405, allocations: 21.47 kB / 400.6 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.03414, allocations: 24.5 kB / 400.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of SimCode: time 2.024e-06/0.03414, allocations: 0 / 400.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of Templates: time 0.009916/0.04406, allocations: 2.15 MB / 402.8 MB, free: 6.918 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: 5.515244749956764]