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.0007422/0.0007422, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009746/0.001717, allocations: 440 kB / 10.41 MB, free: 284 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.9773/0.9773, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2239/1.201, allocations: 53.65 MB / 242 MB, free: 2.617 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.0007469/0.0007469, allocations: 163.2 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009258/0.001673, allocations: 480.9 kB / 243.4 MB, free: 1.281 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.02333/0.02333, allocations: 6.66 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003778/0.02711, allocations: 2.665 MB / 253.5 MB, free: 7.406 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.443e-06/1.443e-06, allocations: 0 / 254.7 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.207e-05, allocations: 2.312 kB / 254.7 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002258/0.00227, allocations: 2.162 MB / 256.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.003589, allocations: 1.126 MB / 258 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.781e-05/0.003687, allocations: 4 kB / 258 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.003933, allocations: 123.3 kB / 258.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.004201, allocations: 167.1 kB / 258.3 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.004407, allocations: 111.5 kB / 258.4 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.004641, allocations: 227.1 kB / 258.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.004754, allocations: 34.38 kB / 258.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.004927, allocations: 156.4 kB / 258.8 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.005066, allocations: 95.75 kB / 258.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.005087, allocations: 12 kB / 258.9 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.005176, allocations: 55.86 kB / 259 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.005229, allocations: 43.86 kB / 259 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.005276, allocations: 43.88 kB / 259.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.005511, allocations: 167.4 kB / 259.2 MB, free: 1.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.005522, allocations: 4 kB / 259.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005523, allocations: 0 / 259.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.005534, allocations: 0 / 259.2 MB, free: 1.613 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.0005467/0.006081, allocations: 459.4 kB / 259.7 MB, free: 1.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.006114, allocations: 11.97 kB / 259.7 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.006162, allocations: 28.91 kB / 259.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.006355, allocations: 182.2 kB / 259.9 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.006373, allocations: 8.594 kB / 259.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.0064, allocations: 20.12 kB / 259.9 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.006573, allocations: 136.9 kB / 260.1 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.006583, allocations: 0 / 260.1 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.006594, allocations: 4 kB / 260.1 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.006602, allocations: 4 kB / 260.1 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.597e-05/0.006658, allocations: 39.44 kB / 260.1 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.007095, allocations: 412.8 kB / 260.5 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.007197, allocations: 101.3 kB / 260.6 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.763e-05/0.007225, allocations: 28.8 kB / 260.6 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.00724, allocations: 0 / 260.6 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.007341, allocations: 82.11 kB / 260.7 MB, free: 4 kB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.007342, allocations: 0 / 260.7 MB, free: 4 kB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001483/0.00749, allocations: 77.61 kB / 260.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.007517, allocations: 59.39 kB / 260.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.007649, allocations: 230.6 kB / 261.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.007664, allocations: 25.7 kB / 261.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.007721, allocations: 132.7 kB / 261.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.007749, allocations: 39.72 kB / 261.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.007784, allocations: 25.72 kB / 261.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.007869, allocations: 334.8 kB / 261.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.007889, allocations: 14.83 kB / 261.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.007925, allocations: 52.2 kB / 261.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.15e-05/0.007987, allocations: 69.86 kB / 261.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007989, allocations: 7.938 kB / 261.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.777e-05/0.008086, allocations: 112.3 kB / 261.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.008098, allocations: 4 kB / 261.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.008103, allocations: 0 / 261.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.008117, allocations: 4 kB / 261.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.008254, allocations: 27.98 kB / 261.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.008257, allocations: 4 kB / 261.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.8e-05/0.008295, allocations: 15.89 kB / 261.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.008303, allocations: 7.984 kB / 261.9 MB, free: 14.68 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 7.035e-05/0.008373, allocations: 127.8 kB / 262.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.008389, allocations: 15.92 kB / 262.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.008499, allocations: 95.36 kB / 262.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.008501, allocations: 0 / 262.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.008502, allocations: 0 / 262.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008506, allocations: 3.938 kB / 262.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.659e-05/0.008603, allocations: 125.7 kB / 262.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.008603, allocations: 0 / 262.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.008678, allocations: 23.98 kB / 262.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.008694, allocations: 19.8 kB / 262.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.008696, allocations: 4 kB / 262.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.008706, allocations: 8 kB / 262.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.008706, allocations: 0 / 262.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008707, allocations: 0 / 262.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.008833, allocations: 118.7 kB / 262.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.008851, allocations: 7.922 kB / 262.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.008878, allocations: 11.94 kB / 262.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.008905, allocations: 7.984 kB / 262.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.008915, allocations: 0 / 262.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.2e-05/0.008977, allocations: 89.58 kB / 262.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008977, allocations: 4 kB / 262.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.009116, allocations: 43.89 kB / 262.6 MB, free: 13.93 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.001189/0.01031, allocations: 0.5493 MB / 263.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01042, allocations: 68.62 kB / 263.2 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.01043, allocations: 4 kB / 263.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.01047, allocations: 33.22 kB / 263.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.01071, allocations: 310.6 kB / 263.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.01262, allocations: 395.2 kB / 264 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.858e-05/0.01267, allocations: 95.75 kB / 264.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.767e-05/0.01272, allocations: 13.48 kB / 264.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.0128, allocations: 75.36 kB / 264.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0128, allocations: 0 / 264.2 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Templates: time 0.004091/0.01689, allocations: 2.375 MB / 266.5 MB, free: 10.23 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.8868851820006967]