Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.TestDCPMMachine.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.0009482/0.0009482, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009616/0.00191, 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 1.075/1.075, allocations: 177.2 MB / 188.4 MB, free: 4.402 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2106/1.286, allocations: 53.65 MB / 242 MB, free: 2.613 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.0008539/0.0008539, allocations: 153.6 kB / 242.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002118, allocations: 482 kB / 243.4 MB, free: 1.273 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.02785/0.02785, allocations: 6.648 MB / 250.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00785/0.0357, allocations: 2.68 MB / 253.5 MB, free: 7.398 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.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") translateModel(HanserModelica.Rotational.TestDCPMMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.TestDCPMMachine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 254.7 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/3.907e-05, allocations: 6.312 kB / 254.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.004871/0.004911, allocations: 2.96 MB / 257.7 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.006343, allocations: 0.697 MB / 258.4 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.006523, allocations: 4 kB / 258.4 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.006669, allocations: 55.5 kB / 258.4 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.006878, allocations: 107 kB / 258.5 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.007042, allocations: 83.84 kB / 258.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.00746, allocations: 390.3 kB / 259 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.007725, allocations: 107.6 kB / 259.1 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.00804, allocations: 236.2 kB / 259.3 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.008237, allocations: 111.7 kB / 259.5 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.789e-05/0.008305, allocations: 36 kB / 259.5 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.196e-05/0.008347, allocations: 40 kB / 259.5 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.73e-05/0.008404, allocations: 59.81 kB / 259.6 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.797e-05/0.008492, allocations: 99.81 kB / 259.7 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.008828, allocations: 235.1 kB / 259.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.972e-05/0.008847, allocations: 0 / 259.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.008851, allocations: 0 / 259.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.008868, allocations: 0 / 259.9 MB, free: 0.918 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009275/0.009796, allocations: 0.5583 MB / 260.5 MB, free: 344 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.009851, allocations: 12.03 kB / 260.5 MB, free: 332 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.009941, allocations: 44.91 kB / 260.5 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.01028, allocations: 182 kB / 260.7 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.01031, allocations: 24.97 kB / 260.7 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.01037, allocations: 32.38 kB / 260.8 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.01076, allocations: 224.6 kB / 261 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.01078, allocations: 7.984 kB / 261 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.0108, allocations: 8 kB / 261 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.01081, allocations: 8 kB / 261 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.01092, allocations: 80.48 kB / 261.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009917/0.01192, allocations: 0.6584 MB / 261.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.01212, allocations: 78.55 kB / 261.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.01216, allocations: 24.84 kB / 261.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.01219, allocations: 4 kB / 261.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.01223, allocations: 38.56 kB / 261.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.205e-06/0.01223, allocations: 0 / 261.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003869/0.01262, allocations: 114.4 kB / 262 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.01266, allocations: 55.41 kB / 262 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.01281, allocations: 187.2 kB / 262.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.01283, allocations: 29.7 kB / 262.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01294, allocations: 180.3 kB / 262.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.01298, allocations: 55.56 kB / 262.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.01304, allocations: 41.64 kB / 262.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01317, allocations: 326.8 kB / 262.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.46e-05/0.0132, allocations: 15.98 kB / 262.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.168e-05/0.01327, allocations: 71.06 kB / 262.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.01338, allocations: 93.03 kB / 263 MB, free: 13.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01338, allocations: 0 / 263 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001931/0.01357, allocations: 122.4 kB / 263.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.0136, allocations: 6.656 kB / 263.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.01361, allocations: 0 / 263.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.01375, allocations: 24.78 kB / 263.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.01395, allocations: 39.98 kB / 263.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009327/0.01488, allocations: 1.171 MB / 264.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-05/0.01496, allocations: 23.88 kB / 264.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01497, allocations: 4 kB / 264.4 MB, free: 12.11 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.0151, allocations: 121.8 kB / 264.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.01513, allocations: 16.05 kB / 264.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.01516, allocations: 25.41 kB / 264.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01517, allocations: 0 / 264.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01517, allocations: 4 kB / 264.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.01518, allocations: 3.984 kB / 264.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.01537, allocations: 134 kB / 264.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.01538, allocations: 0 / 264.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.01554, allocations: 35.97 kB / 264.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.01556, allocations: 15.84 kB / 264.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.01566, allocations: 28.72 kB / 264.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01568, allocations: 4 kB / 264.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006836/0.01636, allocations: 1.162 MB / 266 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01636, allocations: 0 / 266 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.01657, allocations: 216.2 kB / 266.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01659, allocations: 8 kB / 266.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.01666, allocations: 8.125 kB / 266.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.01671, allocations: 16.02 kB / 266.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.01671, allocations: 3.984 kB / 266.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.503e-05/0.01677, allocations: 50.72 kB / 266.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01677, allocations: 0 / 266.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002046/0.01697, allocations: 75.78 kB / 266.3 MB, free: 10.07 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (machine.emf.phi,machine.inductor.i,machine.inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.01712, allocations: 76.42 kB / 266.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.01741, allocations: 192.8 kB / 266.6 MB, free: 9.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.01742, allocations: 3.938 kB / 266.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.01756, allocations: 155.5 kB / 266.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.01799, allocations: 329.3 kB / 267.1 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.02128, allocations: 0.6029 MB / 267.7 MB, free: 8.594 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.869e-05/0.02135, allocations: 91.95 kB / 267.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.625e-05/0.02142, allocations: 17.47 kB / 267.8 MB, free: 8.461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.02153, allocations: 87.3 kB / 267.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.02153, allocations: 0 / 267.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of Templates: time 0.005554/0.02709, allocations: 2.345 MB / 270.2 MB, free: 6.074 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe >> ../files/HanserModelica_HanserModelica.Rotational.TestDCPMMachine.sim & ./HanserModelica_HanserModelica.Rotational.TestDCPMMachine -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.TestDCPMMachine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.853338345885277]