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.0007025/0.0007025, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008863/0.001589, allocations: 435.8 kB / 10.33 MB, free: 368 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.9385/0.9385, allocations: 177.1 MB / 188.2 MB, free: 4.504 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1507/1.089, allocations: 53.65 MB / 241.9 MB, free: 2.727 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.001119/0.001119, allocations: 156.3 kB / 242.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009606/0.00208, allocations: 480.4 kB / 243.2 MB, free: 1.41 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.02485/0.02485, allocations: 6.654 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004017/0.02886, allocations: 2.666 MB / 253.3 MB, free: 7.555 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 1.373e-06/1.373e-06, allocations: 0 / 254.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.576e-05, allocations: 4.422 kB / 254.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.TestDCPMMachine): time 0.003957/0.003973, allocations: 2.938 MB / 257.5 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.005384, allocations: 0.7048 MB / 258.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.005561, allocations: 7.938 kB / 258.2 MB, free: 2.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.005687, allocations: 51.5 kB / 258.2 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.005935, allocations: 99.06 kB / 258.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.006113, allocations: 87.89 kB / 258.4 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.006507, allocations: 386.2 kB / 258.8 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.006708, allocations: 111.6 kB / 258.9 MB, free: 1.914 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.007021, allocations: 236.2 kB / 259.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.007206, allocations: 119.7 kB / 259.3 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.713e-05/0.007263, allocations: 36 kB / 259.3 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.003e-05/0.007313, allocations: 36 kB / 259.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.007365, allocations: 55.81 kB / 259.4 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.007484, allocations: 99.81 kB / 259.5 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.007807, allocations: 231.2 kB / 259.7 MB, free: 1.117 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.007821, allocations: 3.938 kB / 259.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007822, allocations: 0 / 259.7 MB, free: 1.113 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.007838, allocations: 4 kB / 259.7 MB, free: 1.109 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.0007986/0.008637, allocations: 0.5621 MB / 260.3 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.00867, allocations: 12.03 kB / 260.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.666e-05/0.008746, allocations: 40.91 kB / 260.3 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.009005, allocations: 178.1 kB / 260.5 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.00903, allocations: 25.03 kB / 260.5 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.009079, allocations: 32.36 kB / 260.6 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.009431, allocations: 228.6 kB / 260.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.009451, allocations: 0 / 260.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.009475, allocations: 16 kB / 260.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.009484, allocations: 4 kB / 260.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.00964, allocations: 72.55 kB / 260.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01076, allocations: 0.6662 MB / 261.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.01094, allocations: 70.48 kB / 261.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.01099, allocations: 32.84 kB / 261.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.01101, allocations: 8.234 kB / 261.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.01104, allocations: 30.56 kB / 261.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.01104, allocations: 0 / 261.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003676/0.0114, allocations: 122.4 kB / 261.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.01144, allocations: 59.39 kB / 261.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.01157, allocations: 187.3 kB / 262 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.01159, allocations: 25.7 kB / 262.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.01168, allocations: 184.3 kB / 262.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.01173, allocations: 47.56 kB / 262.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.01179, allocations: 45.64 kB / 262.3 MB, free: 14.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01189, allocations: 326.8 kB / 262.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.01194, allocations: 15.98 kB / 262.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.547e-05/0.012, allocations: 63.12 kB / 262.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.01212, allocations: 95.66 kB / 262.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01213, allocations: 0 / 262.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000214/0.01234, allocations: 118.4 kB / 262.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.01235, allocations: 8 kB / 262.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01236, allocations: 0 / 262.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.01248, allocations: 32.94 kB / 263 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.01268, allocations: 43.92 kB / 263 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007822/0.01346, allocations: 1.163 MB / 264.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.613e-05/0.01356, allocations: 19.89 kB / 264.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01357, allocations: 4.125 kB / 264.2 MB, free: 12.3 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 8.877e-05/0.01366, allocations: 121.8 kB / 264.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.01369, allocations: 19.92 kB / 264.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.01372, allocations: 21.41 kB / 264.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01373, allocations: 0 / 264.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01373, allocations: 0 / 264.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01373, allocations: 0 / 264.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.01394, allocations: 137.8 kB / 264.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01394, allocations: 0 / 264.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.01412, allocations: 43.97 kB / 264.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.01414, allocations: 15.84 kB / 264.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.012e-05/0.01423, allocations: 20.78 kB / 264.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01424, allocations: 0 / 264.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006718/0.01492, allocations: 1.158 MB / 265.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.01492, allocations: 8.109 kB / 265.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.01516, allocations: 223.9 kB / 266 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.01519, allocations: 0 / 266 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.0153, allocations: 15.98 kB / 266 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.01533, allocations: 3.984 kB / 266 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.01534, allocations: 4 kB / 266 MB, free: 10.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.745e-05/0.0154, allocations: 46.78 kB / 266 MB, free: 10.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0154, allocations: 0 / 266 MB, free: 10.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.01571, allocations: 75.78 kB / 266.1 MB, free: 10.27 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 8.849e-05/0.0158, allocations: 84.41 kB / 266.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.01607, allocations: 188.7 kB / 266.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.01608, allocations: 0 / 266.4 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.01624, allocations: 151.5 kB / 266.5 MB, free: 9.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.01651, allocations: 60.05 kB / 266.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.02105, allocations: 0.5991 MB / 267.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.476e-05/0.02112, allocations: 91.95 kB / 267.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.272e-05/0.02121, allocations: 21.52 kB / 267.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.02132, allocations: 79.3 kB / 267.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.02132, allocations: 0 / 267.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of Templates: time 0.006295/0.02761, allocations: 2.366 MB / 269.7 MB, free: 6.594 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.5257831290364265]