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.001442/0.001442, allocations: 79.66 kB / 19.76 MB, free: 1.867 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.002073/0.002073, allocations: 157.9 kB / 23.01 MB, free: 4.605 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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.977 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.008992/0.008992, allocations: 0.9467 MB / 260.7 MB, free: 15.82 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.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.002018/0.002018, allocations: 63.89 kB / 383.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1038, allocations: 53.61 MB / 437.1 MB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004665/0.1084, allocations: 2.829 MB / 440 MB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.1111, allocations: 1.328 MB / 441.3 MB, free: 10.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1112, allocations: 7.938 kB / 441.3 MB, free: 10.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.1118, allocations: 143.1 kB / 441.4 MB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.1121, allocations: 119.1 kB / 441.6 MB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008249/0.1129, allocations: 282.9 kB / 441.8 MB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005695/0.1135, allocations: 430.4 kB / 442.3 MB, free: 10.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.1137, allocations: 99.52 kB / 442.4 MB, free: 9.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.114, allocations: 183.3 kB / 442.5 MB, free: 9.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.1143, allocations: 171.1 kB / 442.7 MB, free: 9.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.674e-05/0.1144, allocations: 36 kB / 442.7 MB, free: 9.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.1147, allocations: 187.6 kB / 442.9 MB, free: 9.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.1149, allocations: 99.62 kB / 443 MB, free: 9.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.115, allocations: 155.2 kB / 443.2 MB, free: 9.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006352/0.1157, allocations: 0.5213 MB / 443.7 MB, free: 8.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1157, allocations: 4 kB / 443.7 MB, free: 8.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1157, allocations: 0 / 443.7 MB, free: 8.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1157, allocations: 3.938 kB / 443.7 MB, free: 8.559 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001239/0.1169, allocations: 0.645 MB / 444.3 MB, free: 7.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.117, allocations: 8.031 kB / 444.4 MB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.39e-05/0.117, allocations: 44.64 kB / 444.4 MB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.1175, allocations: 265.9 kB / 444.7 MB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.1176, allocations: 25.03 kB / 444.7 MB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.1176, allocations: 32.38 kB / 444.7 MB, free: 7.488 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006714/0.1183, allocations: 310.3 kB / 445 MB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1183, allocations: 0 / 445 MB, free: 7.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.421e-05/0.1183, allocations: 12 kB / 445 MB, free: 7.168 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.1184, allocations: 8 kB / 445 MB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.119, allocations: 270.5 kB / 445.3 MB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1207, allocations: 0.9337 MB / 446.2 MB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.1212, allocations: 190.5 kB / 446.4 MB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.1214, allocations: 76.81 kB / 446.5 MB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.1214, allocations: 8 kB / 446.5 MB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.1215, allocations: 46.5 kB / 446.5 MB, free: 5.562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.1215, allocations: 3.938 kB / 446.6 MB, free: 5.559 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.003057/0.1245, allocations: 0.8977 MB / 447.4 MB, free: 4.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.1246, allocations: 59.58 kB / 447.5 MB, free: 4.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.125, allocations: 324.4 kB / 447.8 MB, free: 4.258 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.125, allocations: 33.7 kB / 447.9 MB, free: 4.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.1252, allocations: 236.1 kB / 448.1 MB, free: 3.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.1253, allocations: 103.1 kB / 448.2 MB, free: 3.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.1254, allocations: 74.03 kB / 448.3 MB, free: 3.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1256, allocations: 334.8 kB / 448.6 MB, free: 3.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.126, allocations: 124.7 kB / 448.7 MB, free: 3.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.1264, allocations: 221.1 kB / 448.9 MB, free: 3.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/0.1271, allocations: 344.7 kB / 449.3 MB, free: 2.707 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1271, allocations: 8 kB / 449.3 MB, free: 2.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001496/0.1286, allocations: 0.5924 MB / 449.9 MB, free: 2.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1286, allocations: 11.94 kB / 449.9 MB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1287, allocations: 4 kB / 449.9 MB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.1306, allocations: 0.8157 MB / 450.7 MB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.131, allocations: 75.89 kB / 450.8 MB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.132, allocations: 1.179 MB / 451.9 MB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.1323, allocations: 27.92 kB / 452 MB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.1323, allocations: 20.12 kB / 452 MB, free: 15.91 MB / 430.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.000208/0.1325, allocations: 157.7 kB / 452.1 MB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.1326, allocations: 31.81 kB / 452.2 MB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.1339, allocations: 0.522 MB / 452.7 MB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.134, allocations: 4 kB / 452.7 MB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.134, allocations: 0 / 452.7 MB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.134, allocations: 3.984 kB / 452.7 MB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.1344, allocations: 261.2 kB / 453 MB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1344, allocations: 0 / 453 MB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.1346, allocations: 39.97 kB / 453 MB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/0.1364, allocations: 0.8235 MB / 453.8 MB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.1365, allocations: 8 kB / 453.8 MB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008963/0.1374, allocations: 1.167 MB / 455 MB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1374, allocations: 7.875 kB / 455 MB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.1386, allocations: 0.5908 MB / 455.6 MB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.1387, allocations: 27.88 kB / 455.6 MB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.1388, allocations: 8.172 kB / 455.6 MB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.139, allocations: 19.98 kB / 455.7 MB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.139, allocations: 23.91 kB / 455.7 MB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1391, allocations: 4 kB / 455.7 MB, free: 12.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.1393, allocations: 227 kB / 455.9 MB, free: 11.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1393, allocations: 0 / 455.9 MB, free: 11.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.1398, allocations: 95.88 kB / 456 MB, free: 11.78 MB / 430.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.0002404/0.14, allocations: 147 kB / 456.1 MB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009427/0.141, allocations: 312.1 kB / 456.4 MB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.141, allocations: 8.188 kB / 456.5 MB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.1414, allocations: 167.8 kB / 456.6 MB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1418, allocations: 49.06 kB / 456.7 MB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.143, allocations: 0.628 MB / 457.3 MB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.1432, allocations: 186.5 kB / 457.5 MB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.1433, allocations: 42.88 kB / 457.5 MB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.1434, allocations: 28.48 kB / 457.5 MB, free: 10.18 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1434, allocations: 0 / 457.5 MB, free: 10.18 MB / 430.1 MB Notification: Performance of Templates: time 0.009021/0.1524, allocations: 3.678 MB / 461.2 MB, free: 6.535 MB / 430.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 -s ida -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.584541752934456] Failed to read output from testmodel.py, exit status != 0: 0.1615135200554505 0.17636786200000001 0.057588352 Calling exit ...