Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.001365/0.001365, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] 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.001514/0.001514, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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.445/1.445, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/package.mo): time 0.008877/0.008877, allocations: 0.9561 MB / 260.7 MB, free: 15.8 MB / 254.1 MB " [Timeout remaining time 180] Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension main/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") [Timeout 660] "Notification: FluxTubesExtension requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 63.89 kB / 383.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1096, allocations: 53.6 MB / 437.1 MB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004675/0.1142, allocations: 2.677 MB / 439.8 MB, free: 12.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.1172, allocations: 1.573 MB / 441.4 MB, free: 10.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.1175, allocations: 11.94 kB / 441.4 MB, free: 10.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008297/0.1184, allocations: 179.1 kB / 441.6 MB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.1188, allocations: 103.2 kB / 441.7 MB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009605/0.1197, allocations: 306.9 kB / 442 MB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006522/0.1204, allocations: 394.5 kB / 442.4 MB, free: 9.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.1206, allocations: 77.97 kB / 442.4 MB, free: 9.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.1209, allocations: 155.4 kB / 442.6 MB, free: 9.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.1212, allocations: 155.2 kB / 442.7 MB, free: 9.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.545e-05/0.1213, allocations: 28 kB / 442.8 MB, free: 9.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.1217, allocations: 171.7 kB / 442.9 MB, free: 9.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1218, allocations: 79.73 kB / 443 MB, free: 9.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.122, allocations: 139.3 kB / 443.1 MB, free: 9.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000671/0.1227, allocations: 458.2 kB / 443.6 MB, free: 8.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1227, allocations: 4 kB / 443.6 MB, free: 8.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1227, allocations: 0 / 443.6 MB, free: 8.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1227, allocations: 0 / 443.6 MB, free: 8.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001205/0.1239, allocations: 0.5829 MB / 444.2 MB, free: 8.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1239, allocations: 8.031 kB / 444.2 MB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.1241, allocations: 52.64 kB / 444.2 MB, free: 7.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.1246, allocations: 237.3 kB / 444.5 MB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.1246, allocations: 28.97 kB / 444.5 MB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.1247, allocations: 24.38 kB / 444.5 MB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.1252, allocations: 291.9 kB / 444.8 MB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.1253, allocations: 4 kB / 444.8 MB, free: 7.375 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.1253, allocations: 11.98 kB / 444.8 MB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.1253, allocations: 8 kB / 444.8 MB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.1259, allocations: 246.5 kB / 445.1 MB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.1277, allocations: 0.8756 MB / 445.9 MB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.1281, allocations: 230.4 kB / 446.2 MB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.1284, allocations: 116.8 kB / 446.3 MB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.1285, allocations: 19.98 kB / 446.3 MB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1285, allocations: 38.55 kB / 446.3 MB, free: 5.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.1285, allocations: 0 / 446.3 MB, free: 5.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.00452/0.133, allocations: 1.468 MB / 447.8 MB, free: 4.266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1331, allocations: 55.41 kB / 447.9 MB, free: 4.199 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.1334, allocations: 272.1 kB / 448.1 MB, free: 3.926 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.1335, allocations: 33.7 kB / 448.2 MB, free: 3.887 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.1336, allocations: 204.4 kB / 448.4 MB, free: 3.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.1337, allocations: 127 kB / 448.5 MB, free: 3.559 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1339, allocations: 65.69 kB / 448.6 MB, free: 3.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.134, allocations: 338.8 kB / 448.9 MB, free: 3.148 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.1343, allocations: 115.9 kB / 449 MB, free: 3.035 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.1346, allocations: 168.5 kB / 449.2 MB, free: 2.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.1352, allocations: 306 kB / 449.5 MB, free: 2.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1352, allocations: 0 / 449.5 MB, free: 2.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001732/0.1369, allocations: 0.6252 MB / 450.1 MB, free: 1.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1369, allocations: 4 kB / 450.1 MB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.1369, allocations: 8 kB / 450.1 MB, free: 1.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002902/0.1398, allocations: 0.5285 MB / 450.6 MB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.1401, allocations: 63.89 kB / 450.7 MB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.1417, allocations: 1.288 MB / 452 MB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.1421, allocations: 8 kB / 452 MB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.1421, allocations: 12 kB / 452 MB, free: 15.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002973/0.1424, allocations: 172.6 kB / 452.2 MB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1425, allocations: 27.81 kB / 452.2 MB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.145, allocations: 0.576 MB / 452.8 MB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.145, allocations: 4 kB / 452.8 MB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.1451, allocations: 0 / 452.8 MB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.1451, allocations: 7.984 kB / 452.8 MB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.1483, allocations: 0.9384 MB / 453.7 MB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.1483, allocations: 0 / 453.7 MB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.1487, allocations: 47.97 kB / 453.8 MB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003969/0.1527, allocations: 0.5207 MB / 454.3 MB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.1527, allocations: 8 kB / 454.3 MB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.1542, allocations: 1.28 MB / 455.6 MB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.1542, allocations: 4 kB / 455.6 MB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.1572, allocations: 0.8078 MB / 456.4 MB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1573, allocations: 27.83 kB / 456.4 MB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.1574, allocations: 8 kB / 456.4 MB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.1577, allocations: 11.98 kB / 456.4 MB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.1577, allocations: 23.91 kB / 456.5 MB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.1578, allocations: 15.98 kB / 456.5 MB, free: 11.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.1581, allocations: 195.1 kB / 456.7 MB, free: 11.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1581, allocations: 3.938 kB / 456.7 MB, free: 11.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006558/0.1588, allocations: 88.12 kB / 456.7 MB, free: 11.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003251/0.1591, allocations: 139 kB / 456.9 MB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.1602, allocations: 323.8 kB / 457.2 MB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1602, allocations: 0 / 457.2 MB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006521/0.1609, allocations: 179.8 kB / 457.4 MB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.1615, allocations: 32.64 kB / 457.4 MB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.1635, allocations: 0.7691 MB / 458.2 MB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1638, allocations: 185.6 kB / 458.4 MB, free: 9.344 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.164, allocations: 26.28 kB / 458.4 MB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.1641, allocations: 20.48 kB / 458.4 MB, free: 9.297 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1641, allocations: 0 / 458.4 MB, free: 9.297 MB / 430.1 MB Notification: Performance of Templates: time 0.01459/0.1786, allocations: 3.179 MB / 461.6 MB, free: 6.141 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.683153347927146] Failed to read output from testmodel.py, exit status != 0: 0.19119620707351714 0.21923588000000002 0.090693202 Calling exit ...