Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.0009373/0.0009373, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.002177, 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.9609/0.9609, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.19/1.151, allocations: 53.66 MB / 242 MB, free: 2.602 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.0007819/0.0007819, allocations: 161 kB / 242.9 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000941/0.001723, allocations: 478.3 kB / 243.4 MB, free: 1.27 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.0238/0.0238, allocations: 6.654 MB / 250.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005414/0.02922, allocations: 2.664 MB / 253.5 MB, free: 7.402 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.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 254.7 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.33e-05, allocations: 6.312 kB / 254.7 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002006/0.00202, allocations: 1.915 MB / 256.7 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006464/0.002666, allocations: 490.6 kB / 257.1 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.002745, allocations: 4 kB / 257.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.207e-05/0.002807, allocations: 23.78 kB / 257.2 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.002867, allocations: 27.72 kB / 257.2 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.418e-05/0.002951, allocations: 27.95 kB / 257.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.003102, allocations: 123.3 kB / 257.3 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.003213, allocations: 37.88 kB / 257.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.003322, allocations: 87.8 kB / 257.5 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.003411, allocations: 31.91 kB / 257.5 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.003443, allocations: 8 kB / 257.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.797e-05/0.00346, allocations: 16 kB / 257.5 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.00349, allocations: 19.94 kB / 257.5 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.003527, allocations: 31.94 kB / 257.6 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.003679, allocations: 79.69 kB / 257.6 MB, free: 3.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.003694, allocations: 0 / 257.6 MB, free: 3.199 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003695, allocations: 0 / 257.6 MB, free: 3.199 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.003709, allocations: 0 / 257.6 MB, free: 3.199 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005403/0.004249, allocations: 340.1 kB / 258 MB, free: 2.844 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.00429, allocations: 8.031 kB / 258 MB, free: 2.836 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.004342, allocations: 24.92 kB / 258 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.004529, allocations: 129.6 kB / 258.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.004545, allocations: 8.375 kB / 258.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.004578, allocations: 8.375 kB / 258.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.004734, allocations: 104.8 kB / 258.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.004743, allocations: 192 / 258.2 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.004754, allocations: 4.375 kB / 258.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.004762, allocations: 7.938 kB / 258.3 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.004809, allocations: 33.39 kB / 258.3 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.005329, allocations: 346.2 kB / 258.6 MB, free: 2.125 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.982e-05/0.005409, allocations: 26.58 kB / 258.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.005431, allocations: 24.88 kB / 258.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.00544, allocations: 0 / 258.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.005471, allocations: 30.56 kB / 258.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.005472, allocations: 0 / 258.7 MB, free: 2.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001343/0.005607, allocations: 49.62 kB / 258.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.005638, allocations: 59.41 kB / 258.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.005733, allocations: 126.7 kB / 258.9 MB, free: 1.762 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.005749, allocations: 29.7 kB / 259 MB, free: 1.727 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.005812, allocations: 119.8 kB / 259.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.005824, allocations: 11.91 kB / 259.1 MB, free: 1.594 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.00586, allocations: 29.69 kB / 259.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.005961, allocations: 310.8 kB / 259.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.005973, allocations: 7.938 kB / 259.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.006001, allocations: 30.55 kB / 259.5 MB, free: 1.199 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/0.006045, allocations: 42.56 kB / 259.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006047, allocations: 0 / 259.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.534e-05/0.006123, allocations: 65.61 kB / 259.6 MB, free: 1.078 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.006137, allocations: 10.59 kB / 259.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.006142, allocations: 0 / 259.6 MB, free: 1.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.00616, allocations: 7.938 kB / 259.6 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.00632, allocations: 12 kB / 259.6 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.006326, allocations: 7.984 kB / 259.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.346e-05/0.00635, allocations: 7.891 kB / 259.6 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.006355, allocations: 8.062 kB / 259.6 MB, free: 1.027 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 (8): * Single equations (assignments): 8 * 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.464e-05/0.00642, allocations: 109.8 kB / 259.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.006434, allocations: 7.938 kB / 259.7 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.006456, allocations: 15.94 kB / 259.8 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006458, allocations: 0 / 259.8 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.006461, allocations: 3.984 kB / 259.8 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.006466, allocations: 0 / 259.8 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.006571, allocations: 85.86 kB / 259.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.006572, allocations: 0 / 259.8 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-05/0.006637, allocations: 15.92 kB / 259.9 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.006649, allocations: 11.95 kB / 259.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.00665, allocations: 0 / 259.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.00666, allocations: 3.938 kB / 259.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.006661, allocations: 0 / 259.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.006661, allocations: 0 / 259.9 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.006782, allocations: 151.6 kB / 260 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.006792, allocations: 0 / 260 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.00683, allocations: 4 kB / 260 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.006846, allocations: 8.172 kB / 260 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.006849, allocations: 4.062 kB / 260 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.953e-05/0.006879, allocations: 36.73 kB / 260.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006879, allocations: 0 / 260.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001287/0.007008, allocations: 23.89 kB / 260.1 MB, free: 0.5117 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 (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 Backend phase and start with SimCode phase: time 7.039e-05/0.007078, allocations: 80.34 kB / 260.2 MB, free: 432 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.956e-05/0.007148, allocations: 32.78 kB / 260.2 MB, free: 396 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.007154, allocations: 4 kB / 260.2 MB, free: 392 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.719e-05/0.007171, allocations: 16.84 kB / 260.2 MB, free: 372 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/0.007709, allocations: 97.23 kB / 260.3 MB, free: 256 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.008881, allocations: 263.7 kB / 260.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.00892, allocations: 67.33 kB / 260.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.723e-05/0.008947, allocations: 4 kB / 260.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.009004, allocations: 63.36 kB / 260.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of SimCode: time 1.343e-06/0.009005, allocations: 4 kB / 260.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Templates: time 0.002431/0.01144, allocations: 0.7229 MB / 261.4 MB, free: 15.11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6946910126134753]