Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.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.001486/0.001486, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001589/0.001589, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.009767/0.009767, allocations: 1.246 MB / 313.7 MB, free: 1.734 MB / 238.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") translateModel(FluxTubesExtension.Examples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap") [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.002313/0.002313, allocations: 63.91 kB / 436.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1228, allocations: 53.64 MB / 490.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.005761/0.1285, allocations: 2.816 MB / 492.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.1318, allocations: 1.331 MB / 494.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003985/0.1322, allocations: 4 kB / 494.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007494/0.133, allocations: 147 kB / 494.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.1335, allocations: 119.1 kB / 494.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.1345, allocations: 275.3 kB / 494.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.1352, allocations: 442.3 kB / 495.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.1354, allocations: 87.69 kB / 495.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/0.1359, allocations: 187.3 kB / 495.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.1362, allocations: 171.1 kB / 495.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.48e-05/0.1362, allocations: 36 kB / 495.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.1366, allocations: 191.6 kB / 495.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1368, allocations: 91.69 kB / 496 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.137, allocations: 155.2 kB / 496.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000831/0.1378, allocations: 0.5213 MB / 496.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1378, allocations: 0 / 496.6 MB, free: 3.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1378, allocations: 4 kB / 496.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1378, allocations: 0 / 496.7 MB, free: 3.449 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00154/0.1394, allocations: 0.6527 MB / 497.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1394, allocations: 8.031 kB / 497.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.1395, allocations: 44.66 kB / 497.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.1401, allocations: 265.9 kB / 497.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.1402, allocations: 25.03 kB / 497.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.1402, allocations: 32.38 kB / 497.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.1409, allocations: 306.3 kB / 498 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1409, allocations: 0 / 498 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.141, allocations: 15.98 kB / 498 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.141, allocations: 8 kB / 498 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006891/0.1417, allocations: 270.5 kB / 498.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.1436, allocations: 0.9328 MB / 499.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.1441, allocations: 190.5 kB / 499.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.1443, allocations: 80.81 kB / 499.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.053e-05/0.1444, allocations: 8 kB / 499.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.1444, allocations: 46.5 kB / 499.5 MB, free: 456 kB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.1444, allocations: 0 / 499.5 MB, free: 456 kB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.003255/0.1477, allocations: 0.8975 MB / 0.4887 GB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.1478, allocations: 55.64 kB / 0.4887 GB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/0.1482, allocations: 328.3 kB / 0.489 GB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.1483, allocations: 25.7 kB / 0.4891 GB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1485, allocations: 248.1 kB / 0.4893 GB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1486, allocations: 99.16 kB / 0.4894 GB, free: 14.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.1488, allocations: 62.08 kB / 0.4895 GB, free: 14.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.149, allocations: 346.8 kB / 0.4898 GB, free: 14.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.1493, allocations: 120.7 kB / 0.4899 GB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.1498, allocations: 221.1 kB / 0.4901 GB, free: 13.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.1505, allocations: 348.6 kB / 0.4905 GB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.1505, allocations: 8 kB / 0.4905 GB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001654/0.1522, allocations: 0.5994 MB / 0.491 GB, free: 12.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1522, allocations: 15.92 kB / 0.4911 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1522, allocations: 0 / 0.4911 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.1543, allocations: 0.8199 MB / 0.4919 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.1547, allocations: 67.89 kB / 0.4919 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.1558, allocations: 1.179 MB / 0.4931 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.1562, allocations: 27.97 kB / 0.4931 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.1562, allocations: 20.12 kB / 0.4931 GB, free: 10.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002969/0.1565, allocations: 157.7 kB / 0.4933 GB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.1566, allocations: 39.75 kB / 0.4933 GB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.1581, allocations: 0.5218 MB / 0.4938 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.1581, allocations: 4 kB / 0.4938 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1581, allocations: 0 / 0.4938 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1581, allocations: 0 / 0.4938 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.1585, allocations: 261.2 kB / 0.4941 GB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1585, allocations: 0 / 0.4941 GB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.1588, allocations: 39.97 kB / 0.4941 GB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/0.1608, allocations: 0.8268 MB / 0.4949 GB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.1608, allocations: 7.984 kB / 0.4949 GB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009786/0.1618, allocations: 1.175 MB / 0.4961 GB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.1618, allocations: 3.938 kB / 0.4961 GB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.1632, allocations: 0.5863 MB / 0.4966 GB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1633, allocations: 39.86 kB / 0.4967 GB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.1634, allocations: 4 kB / 0.4967 GB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.1636, allocations: 15.98 kB / 0.4967 GB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.1637, allocations: 15.97 kB / 0.4967 GB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.1637, allocations: 15.92 kB / 0.4967 GB, free: 6.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.164, allocations: 219.1 kB / 0.4969 GB, free: 6.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.164, allocations: 3.938 kB / 0.4969 GB, free: 6.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.1645, allocations: 99.88 kB / 0.497 GB, free: 6.648 MB / 366.1 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 (19): * Single equations (assignments): 17 * 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,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002875/0.1648, allocations: 143 kB / 0.4972 GB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1659, allocations: 304.9 kB / 0.4975 GB, free: 6.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1659, allocations: 4.25 kB / 0.4975 GB, free: 6.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.1665, allocations: 171.8 kB / 0.4976 GB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.167, allocations: 40.14 kB / 0.4977 GB, free: 5.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1685, allocations: 0.6396 MB / 0.4983 GB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.1687, allocations: 182.5 kB / 0.4985 GB, free: 5.133 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.1689, allocations: 38.94 kB / 0.4985 GB, free: 5.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.659e-05/0.1689, allocations: 27.42 kB / 0.4985 GB, free: 5.066 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1689, allocations: 0 / 0.4985 GB, free: 5.066 MB / 366.1 MB Notification: Performance of Templates: time 0.01035/0.1793, allocations: 4.072 MB / 0.5025 GB, free: 1.031 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.271057968959212] Failed to read output from testmodel.py, exit status != 0: 0.3904468510299921 0.40859447699999996 0.266963848 Calling exit ...