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.002256/0.002256, allocations: 88.05 kB / 19.44 MB, free: 332 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.575/1.575, allocations: 177.1 MB / 199.7 MB, free: 5.785 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.00204/0.00204, allocations: 168.6 kB / 256.3 MB, free: 13.14 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.04042/0.04042, allocations: 6.651 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 1.512e-06/1.512e-06, allocations: 0 / 390.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.906e-05, allocations: 5.969 kB / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.003761/0.00379, allocations: 2.059 MB / 393 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.006079, allocations: 1.083 MB / 394 MB, free: 15.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.006221, allocations: 7.938 kB / 394.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.006635, allocations: 123.4 kB / 394.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.007071, allocations: 155.2 kB / 394.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.007365, allocations: 115.4 kB / 394.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.007695, allocations: 223.1 kB / 394.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.007828, allocations: 33.78 kB / 394.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.008034, allocations: 131.7 kB / 394.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.008246, allocations: 103.7 kB / 394.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.008283, allocations: 12 kB / 394.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.008408, allocations: 55.92 kB / 395 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.008501, allocations: 51.77 kB / 395 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.166e-05/0.008593, allocations: 51.84 kB / 395.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.008978, allocations: 235.1 kB / 395.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.008981, allocations: 0 / 395.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.008983, allocations: 0 / 395.3 MB, free: 14.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.008988, allocations: 0 / 395.3 MB, free: 14.54 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.0008757/0.009864, allocations: 0.5538 MB / 395.9 MB, free: 13.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.009905, allocations: 8.031 kB / 395.9 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.534e-05/0.00999, allocations: 32.8 kB / 395.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.01033, allocations: 201 kB / 396.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.01035, allocations: 8.609 kB / 396.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.01039, allocations: 20.31 kB / 396.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.01069, allocations: 147.6 kB / 396.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.01071, allocations: 3.938 kB / 396.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.01073, allocations: 4 kB / 396.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.01074, allocations: 4 kB / 396.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.01092, allocations: 64.66 kB / 396.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01223, allocations: 0.6458 MB / 397 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.01248, allocations: 99.09 kB / 397.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.01257, allocations: 35.72 kB / 397.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.01259, allocations: 4 kB / 397.1 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.0128, allocations: 100.9 kB / 397.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.0128, allocations: 0 / 397.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.000409/0.01321, allocations: 141.5 kB / 397.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.01326, allocations: 51.41 kB / 397.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.01362, allocations: 320.3 kB / 397.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.01364, allocations: 33.64 kB / 397.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.01381, allocations: 206.9 kB / 398 MB, free: 11.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.01385, allocations: 35.73 kB / 398 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.01392, allocations: 43.36 kB / 398 MB, free: 11.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002892/0.01421, allocations: 0.504 MB / 398.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-05/0.01429, allocations: 27.98 kB / 398.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.01442, allocations: 86.34 kB / 398.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.01462, allocations: 110.4 kB / 398.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01462, allocations: 4 kB / 398.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003035/0.01492, allocations: 149.3 kB / 398.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.01494, allocations: 8 kB / 398.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01495, allocations: 3.938 kB / 398.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.01496, allocations: 4 kB / 398.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.01511, allocations: 27.98 kB / 399 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.01512, allocations: 4 kB / 399 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.0152, allocations: 11.89 kB / 399 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.01521, allocations: 4.125 kB / 399 MB, free: 10.59 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.0001612/0.01537, allocations: 184.5 kB / 399.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.01541, allocations: 23.84 kB / 399.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003078/0.01572, allocations: 131.5 kB / 399.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01572, allocations: 4 kB / 399.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01573, allocations: 0 / 399.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01573, allocations: 0 / 399.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.016, allocations: 208.5 kB / 399.5 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.016, allocations: 0 / 399.5 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.01612, allocations: 23.92 kB / 399.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01612, allocations: 4 kB / 399.5 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.01614, allocations: 11.88 kB / 399.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01614, allocations: 0 / 399.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01614, allocations: 0 / 399.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.01653, allocations: 192.3 kB / 399.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.01657, allocations: 27.78 kB / 399.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.0166, allocations: 7.938 kB / 399.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.01666, allocations: 4 kB / 399.8 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.01671, allocations: 11.98 kB / 399.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.01672, allocations: 4 kB / 399.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002181/0.01694, allocations: 221.1 kB / 400 MB, free: 9.484 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01694, allocations: 4.031 kB / 400 MB, free: 9.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.0172, allocations: 47.89 kB / 400.1 MB, free: 9.434 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.002811/0.02001, allocations: 424.5 kB / 400.5 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.02027, allocations: 95.52 kB / 400.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02027, allocations: 0 / 400.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.02038, allocations: 51.55 kB / 400.6 MB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.02074, allocations: 51.7 kB / 400.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008681/0.02161, allocations: 434.3 kB / 401.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.02176, allocations: 128.1 kB / 401.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.752e-05/0.02183, allocations: 25.47 kB / 401.3 MB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.02188, allocations: 16.5 kB / 401.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02188, allocations: 0 / 401.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of Templates: time 0.00647/0.02835, allocations: 2.155 MB / 403.4 MB, free: 6.207 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.927130235941149]