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.0009405/0.0009405, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008777/0.001818, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.9196/0.9196, allocations: 177.2 MB / 188.2 MB, free: 4.5 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1586/1.078, allocations: 53.65 MB / 241.9 MB, free: 2.738 MB / 234.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.0007436/0.0007436, allocations: 151.9 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009128/0.001656, allocations: 478.7 kB / 243.2 MB, free: 1.426 MB / 234.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.02346/0.02346, allocations: 6.663 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003802/0.02726, allocations: 2.662 MB / 253.3 MB, free: 7.566 MB / 250.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.222e-06/1.222e-06, allocations: 0 / 254.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.538e-06/1.076e-05, allocations: 2.312 kB / 254.5 MB, free: 6.316 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002107/0.002117, allocations: 2.138 MB / 256.7 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003384, allocations: 1.122 MB / 257.8 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.419e-05/0.003468, allocations: 0 / 257.8 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.00369, allocations: 131.3 kB / 257.9 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.003929, allocations: 159.2 kB / 258.1 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.004085, allocations: 111.6 kB / 258.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.004296, allocations: 231.1 kB / 258.4 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.004402, allocations: 38.38 kB / 258.5 MB, free: 2.379 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.004552, allocations: 156.4 kB / 258.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.004682, allocations: 95.75 kB / 258.7 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.004703, allocations: 12 kB / 258.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.004784, allocations: 51.92 kB / 258.8 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.004836, allocations: 39.81 kB / 258.8 MB, free: 2.031 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.004897, allocations: 43.88 kB / 258.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.005089, allocations: 175.3 kB / 259 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.005101, allocations: 0 / 259 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005102, allocations: 0 / 259 MB, free: 1.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.005112, allocations: 4 kB / 259 MB, free: 1.812 MB / 250.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.0005388/0.005651, allocations: 455.4 kB / 259.5 MB, free: 1.344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.005686, allocations: 12.03 kB / 259.5 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.005726, allocations: 16.92 kB / 259.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.005908, allocations: 186.2 kB / 259.7 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.005926, allocations: 8.609 kB / 259.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.005955, allocations: 20.12 kB / 259.7 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.006113, allocations: 132.9 kB / 259.8 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.006121, allocations: 3.938 kB / 259.8 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.006133, allocations: 11.98 kB / 259.9 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.006136, allocations: 0 / 259.9 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.981e-05/0.006186, allocations: 35.5 kB / 259.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.006655, allocations: 420.8 kB / 260.3 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.006759, allocations: 105.3 kB / 260.4 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.006783, allocations: 20.84 kB / 260.4 MB, free: 320 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.006795, allocations: 8 kB / 260.4 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.839e-05/0.006884, allocations: 74.02 kB / 260.5 MB, free: 224 kB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.006885, allocations: 4 kB / 260.5 MB, free: 220 kB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001216/0.007006, allocations: 85.59 kB / 260.6 MB, free: 128 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.007031, allocations: 51.41 kB / 260.6 MB, free: 64 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.007162, allocations: 234.6 kB / 260.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.007175, allocations: 25.7 kB / 260.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.007225, allocations: 136.7 kB / 261 MB, free: 15.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.00725, allocations: 35.72 kB / 261.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.007285, allocations: 29.69 kB / 261.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.007355, allocations: 326.8 kB / 261.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.007375, allocations: 18.81 kB / 261.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.168e-05/0.007406, allocations: 48.27 kB / 261.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.007468, allocations: 81.78 kB / 261.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.007471, allocations: 4 kB / 261.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.225e-05/0.007563, allocations: 100.3 kB / 261.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.007574, allocations: 4 kB / 261.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007578, allocations: 0 / 261.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.007585, allocations: 4 kB / 261.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.00772, allocations: 38.59 kB / 261.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.007724, allocations: 3.984 kB / 261.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.007763, allocations: 15.89 kB / 261.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.007771, allocations: 12.12 kB / 261.7 MB, free: 14.89 MB / 266.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.195e-05/0.007833, allocations: 120.6 kB / 261.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.007847, allocations: 15.92 kB / 261.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.008078, allocations: 83.44 kB / 261.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.00808, allocations: 0 / 261.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.008081, allocations: 0 / 261.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.008085, allocations: 3.984 kB / 262 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.562e-05/0.008171, allocations: 113.8 kB / 262.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.008175, allocations: 4 kB / 262.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.008248, allocations: 29.92 kB / 262.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.008266, allocations: 27.8 kB / 262.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.008269, allocations: 4 kB / 262.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.008277, allocations: 3.984 kB / 262.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.008278, allocations: 0 / 262.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.008279, allocations: 0 / 262.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.008397, allocations: 126.9 kB / 262.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.008414, allocations: 7.938 kB / 262.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.476e-05/0.008438, allocations: 4 kB / 262.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.008459, allocations: 7.984 kB / 262.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.008469, allocations: 4 kB / 262.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.466e-05/0.008523, allocations: 89.64 kB / 262.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008523, allocations: 0 / 262.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001355/0.008659, allocations: 43.89 kB / 262.4 MB, free: 14.15 MB / 266.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.001143/0.009802, allocations: 0.5475 MB / 263 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.209e-05/0.009894, allocations: 56.77 kB / 263 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.009901, allocations: 4 kB / 263 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.009937, allocations: 37.03 kB / 263.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.01008, allocations: 53.09 kB / 263.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.01198, allocations: 415.1 kB / 263.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.01203, allocations: 83.81 kB / 263.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.451e-05/0.01207, allocations: 13.48 kB / 263.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.901e-05/0.01215, allocations: 83.3 kB / 263.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01215, allocations: 0 / 263.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of Templates: time 0.004109/0.01626, allocations: 2.421 MB / 266.1 MB, free: 10.7 MB / 266.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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.542822831310332]