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.001282/0.001282, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.9514/0.9514, allocations: 177.2 MB / 200.3 MB, free: 5.379 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.001224/0.001224, allocations: 163.7 kB / 257 MB, free: 12.82 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.02409/0.02409, allocations: 6.66 MB / 266.9 MB, free: 3.07 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.132e-06/1.132e-06, allocations: 0 / 285.6 MB, free: 372 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.107e-05, allocations: 5.828 kB / 285.6 MB, free: 368 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.1043/0.1044, allocations: 2.067 MB / 287.7 MB, free: 21.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.106, allocations: 1.111 MB / 288.8 MB, free: 21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1062, allocations: 6.406 kB / 288.8 MB, free: 20.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.1066, allocations: 118.9 kB / 288.9 MB, free: 20.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.107, allocations: 161.2 kB / 289.1 MB, free: 20.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1073, allocations: 99.19 kB / 289.2 MB, free: 20.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.1076, allocations: 236.8 kB / 289.4 MB, free: 20.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1078, allocations: 34.97 kB / 289.4 MB, free: 20.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.108, allocations: 131.4 kB / 289.6 MB, free: 20.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.1082, allocations: 97.88 kB / 289.7 MB, free: 20.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.1082, allocations: 11.47 kB / 289.7 MB, free: 20.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1083, allocations: 48.94 kB / 289.7 MB, free: 20.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.1084, allocations: 49.64 kB / 289.8 MB, free: 20.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.173e-05/0.1084, allocations: 59.22 kB / 289.8 MB, free: 20.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.1087, allocations: 179.6 kB / 290 MB, free: 20.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1087, allocations: 1.094 kB / 290 MB, free: 20.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1087, allocations: 0 / 290 MB, free: 20.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1088, allocations: 0 / 290 MB, free: 20.49 MB / 266.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.0005462/0.1093, allocations: 427.7 kB / 290.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1093, allocations: 9.031 kB / 290.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.1094, allocations: 25.98 kB / 290.5 MB, free: 20.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1096, allocations: 186.9 kB / 290.6 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1096, allocations: 9.938 kB / 290.7 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.1097, allocations: 8.688 kB / 290.7 MB, free: 19.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1099, allocations: 129.4 kB / 290.8 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1099, allocations: 5.297 kB / 290.8 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1099, allocations: 6.281 kB / 290.8 MB, free: 19.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1099, allocations: 2.219 kB / 290.8 MB, free: 19.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.11, allocations: 40.92 kB / 290.8 MB, free: 19.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.1105, allocations: 418.3 kB / 291.3 MB, free: 19.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1106, allocations: 110.6 kB / 291.4 MB, free: 19.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.1106, allocations: 22.14 kB / 291.4 MB, free: 19.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.1107, allocations: 1.688 kB / 291.4 MB, free: 19.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.1108, allocations: 76.52 kB / 291.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.1108, allocations: 0 / 291.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.000168/0.1109, allocations: 85.45 kB / 291.5 MB, free: 19.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.1109, allocations: 56.3 kB / 291.6 MB, free: 19.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1111, allocations: 228.9 kB / 291.8 MB, free: 19.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1111, allocations: 27.58 kB / 291.8 MB, free: 19.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.1112, allocations: 136 kB / 292 MB, free: 18.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1112, allocations: 36.05 kB / 292 MB, free: 18.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.1113, allocations: 37.97 kB / 292.1 MB, free: 18.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.1113, allocations: 334.5 kB / 292.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.1113, allocations: 14.66 kB / 292.4 MB, free: 18.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.1114, allocations: 42.91 kB / 292.4 MB, free: 18.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.386e-05/0.1115, allocations: 79.81 kB / 292.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1115, allocations: 0.6562 kB / 292.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001402/0.1116, allocations: 99.91 kB / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1116, allocations: 5.438 kB / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1116, allocations: 5.719 kB / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.1116, allocations: 3.281 kB / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1118, allocations: 25.38 kB / 292.7 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1118, allocations: 6.703 kB / 292.7 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.1118, allocations: 19.39 kB / 292.7 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1118, allocations: 4.672 kB / 292.7 MB, free: 18.43 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.354e-05/0.1119, allocations: 117.7 kB / 292.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1119, allocations: 13.53 kB / 292.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.1121, allocations: 101.5 kB / 292.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1121, allocations: 3.062 kB / 292.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1121, allocations: 0.9844 kB / 292.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1121, allocations: 1.156 kB / 292.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1122, allocations: 111 kB / 293 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1122, allocations: 1.125 kB / 293 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.1123, allocations: 20.39 kB / 293 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1123, allocations: 3.969 kB / 293 MB, free: 18.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1123, allocations: 5.781 kB / 293.1 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1123, allocations: 0 / 293.1 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1123, allocations: 5.609 kB / 293.1 MB, free: 18.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1125, allocations: 126.5 kB / 293.2 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.1125, allocations: 19.72 kB / 293.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1125, allocations: 6.688 kB / 293.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.1126, allocations: 7.047 kB / 293.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.1126, allocations: 11.45 kB / 293.2 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1126, allocations: 6.188 kB / 293.2 MB, free: 18.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.003e-05/0.1127, allocations: 84.08 kB / 293.3 MB, free: 18.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1127, allocations: 0 / 293.3 MB, free: 18.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.1129, allocations: 44.41 kB / 293.4 MB, free: 18 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.001293/0.1142, allocations: 0.5066 MB / 293.9 MB, free: 17.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1144, allocations: 58.31 kB / 293.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.1144, allocations: 1.406 kB / 293.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.439e-05/0.1145, allocations: 34.44 kB / 294 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1147, allocations: 45.42 kB / 294 MB, free: 17.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1159, allocations: 428.6 kB / 294.4 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.047e-05/0.1159, allocations: 83.86 kB / 294.5 MB, free: 17.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.844e-05/0.116, allocations: 19.86 kB / 294.5 MB, free: 17.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.1161, allocations: 77.72 kB / 294.6 MB, free: 17.44 MB / 266.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1161, allocations: 0 / 294.6 MB, free: 17.44 MB / 266.7 MB Notification: Performance of Templates: time 0.005833/0.122, allocations: 2.343 MB / 296.9 MB, free: 16.95 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.5433355257846415]