Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TestBrush.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.00103/0.00103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009483/0.001978, 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.9253/0.9253, allocations: 177.2 MB / 188.2 MB, free: 4.488 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1669/1.092, allocations: 53.64 MB / 241.9 MB, free: 2.738 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.001053/0.001053, allocations: 147.4 kB / 242.8 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001533/0.002586, allocations: 478.6 kB / 243.2 MB, free: 1.43 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.05351/0.05351, allocations: 6.652 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004908/0.05842, allocations: 2.67 MB / 253.3 MB, free: 7.562 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.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") translateModel(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 254.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.076e-05, allocations: 8.781 kB / 254.6 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002136/0.002157, allocations: 1.872 MB / 256.4 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007288/0.002886, allocations: 0.5208 MB / 256.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.002929, allocations: 0 / 256.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.002967, allocations: 15.86 kB / 257 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.003021, allocations: 19.78 kB / 257 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.003125, allocations: 35.89 kB / 257 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.355e-05/0.003218, allocations: 83.61 kB / 257.1 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.003318, allocations: 23.91 kB / 257.1 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.003425, allocations: 59.89 kB / 257.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.003484, allocations: 31.89 kB / 257.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.003501, allocations: 8 kB / 257.2 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.076e-05/0.003572, allocations: 20 kB / 257.2 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.003589, allocations: 15.94 kB / 257.3 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.003611, allocations: 16 kB / 257.3 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.003746, allocations: 63.77 kB / 257.3 MB, free: 3.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.841e-05/0.003765, allocations: 4 kB / 257.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003765, allocations: 0 / 257.3 MB, free: 3.496 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.00378, allocations: 0 / 257.3 MB, free: 3.496 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003996/0.00418, allocations: 308.2 kB / 257.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.004212, allocations: 11.97 kB / 257.6 MB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.004244, allocations: 16.94 kB / 257.7 MB, free: 3.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.409e-05/0.004338, allocations: 117.7 kB / 257.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.004348, allocations: 4.375 kB / 257.8 MB, free: 3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.004359, allocations: 8.375 kB / 257.8 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.004493, allocations: 82.84 kB / 257.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.004499, allocations: 192 / 257.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004509, allocations: 4.375 kB / 257.9 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.004516, allocations: 7.938 kB / 257.9 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.233e-05/0.004549, allocations: 11.94 kB / 257.9 MB, free: 2.879 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.0049, allocations: 259.2 kB / 258.2 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.48e-05/0.004944, allocations: 18.58 kB / 258.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.004959, allocations: 8.906 kB / 258.2 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.004976, allocations: 4 kB / 258.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.004996, allocations: 34.56 kB / 258.2 MB, free: 2.516 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004997, allocations: 0 / 258.2 MB, free: 2.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001007/0.005098, allocations: 41.62 kB / 258.3 MB, free: 2.469 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.005133, allocations: 55.41 kB / 258.3 MB, free: 2.402 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.005204, allocations: 114.8 kB / 258.4 MB, free: 2.277 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.005216, allocations: 29.7 kB / 258.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.005261, allocations: 112.1 kB / 258.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.23e-06/0.005266, allocations: 3.953 kB / 258.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.005289, allocations: 13.72 kB / 258.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.953e-05/0.005369, allocations: 322.8 kB / 258.9 MB, free: 1.781 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.005382, allocations: 4 kB / 258.9 MB, free: 1.777 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.005402, allocations: 18.58 kB / 258.9 MB, free: 1.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.00544, allocations: 34.5 kB / 258.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.005442, allocations: 4 kB / 259 MB, free: 1.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.029e-05/0.005503, allocations: 45.62 kB / 259 MB, free: 1.652 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.005517, allocations: 8 kB / 259 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005522, allocations: 0 / 259 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005532, allocations: 0 / 259 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.005607, allocations: 23.92 kB / 259 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.00561, allocations: 0 / 259 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.005639, allocations: 7.953 kB / 259 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005645, allocations: 0 / 259 MB, free: 1.613 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 5.775e-05/0.005703, allocations: 121.9 kB / 259.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.005717, allocations: 11.92 kB / 259.2 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.005742, allocations: 7.625 kB / 259.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005744, allocations: 0 / 259.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005745, allocations: 0 / 259.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.005748, allocations: 0 / 259.2 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.07e-05/0.005839, allocations: 77.81 kB / 259.3 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.00584, allocations: 0 / 259.3 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.005866, allocations: 11.98 kB / 259.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.005874, allocations: 0 / 259.3 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.005875, allocations: 4 kB / 259.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.005879, allocations: 4 kB / 259.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.00588, allocations: 0 / 259.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00588, allocations: 0 / 259.3 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.576e-05/0.005966, allocations: 135.5 kB / 259.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.005976, allocations: 4 kB / 259.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.006006, allocations: 0 / 259.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.006032, allocations: 7.922 kB / 259.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.006036, allocations: 4 kB / 259.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.67e-05/0.006053, allocations: 16.84 kB / 259.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006053, allocations: 4.031 kB / 259.4 MB, free: 1.168 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001285/0.006181, allocations: 19.89 kB / 259.5 MB, free: 1.148 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001067/0.006288, allocations: 88.34 kB / 259.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.00635, allocations: 16.84 kB / 259.6 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.006356, allocations: 4 kB / 259.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-05/0.00637, allocations: 12.8 kB / 259.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.006523, allocations: 15.94 kB / 259.6 MB, free: 1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.006991, allocations: 179.4 kB / 259.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.007022, allocations: 59.34 kB / 259.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.007046, allocations: 4.094 kB / 259.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.007089, allocations: 55.36 kB / 259.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007089, allocations: 0 / 259.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of Templates: time 0.002355/0.009444, allocations: 0.7679 MB / 260.7 MB, free: 15.9 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TestBrush.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TestBrush.sim & ./HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.608677577227354]