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.001727/0.001727, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001648/0.001648, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.009184/0.009184, allocations: 1.241 MB / 314.4 MB, free: 2.004 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.001888/0.001888, allocations: 63.91 kB / 437.3 MB, free: 16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08822, allocations: 53.64 MB / 491 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004448/0.09267, allocations: 3.036 MB / 494 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.09501, allocations: 1.448 MB / 495.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.09516, allocations: 4 kB / 495.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.09566, allocations: 170.9 kB / 495.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.09594, allocations: 107.1 kB / 495.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.09662, allocations: 291.3 kB / 496 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.09709, allocations: 430.4 kB / 496.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.09731, allocations: 99.69 kB / 496.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.09758, allocations: 187.2 kB / 496.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.09784, allocations: 191.2 kB / 496.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.09789, allocations: 36 kB / 496.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.09825, allocations: 247.5 kB / 497.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.09836, allocations: 99.66 kB / 497.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.09855, allocations: 198.9 kB / 497.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006177/0.09917, allocations: 0.5213 MB / 498 MB, free: 3.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.09917, allocations: 0 / 498 MB, free: 3.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09917, allocations: 4 kB / 498 MB, free: 3.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.09919, allocations: 0 / 498 MB, free: 3.199 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.001248/0.1004, allocations: 0.645 MB / 498.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1005, allocations: 8.031 kB / 498.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.1005, allocations: 44.66 kB / 498.7 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.101, allocations: 261.9 kB / 498.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.101, allocations: 29.03 kB / 499 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.1011, allocations: 28.38 kB / 499 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.1017, allocations: 306.3 kB / 499.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1017, allocations: 0 / 499.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1017, allocations: 12 kB / 499.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1017, allocations: 8 kB / 499.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.1024, allocations: 274.4 kB / 499.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.1041, allocations: 1.107 MB / 0.4889 GB, free: 356 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.1045, allocations: 186.5 kB / 0.4891 GB, free: 160 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1047, allocations: 84.84 kB / 0.4892 GB, free: 72 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/0.1048, allocations: 15.92 kB / 0.4892 GB, free: 56 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1048, allocations: 34.56 kB / 0.4893 GB, free: 12 kB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.1048, allocations: 0 / 0.4893 GB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002736/0.1075, allocations: 0.8977 MB / 0.4901 GB, free: 15.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.1076, allocations: 55.64 kB / 0.4902 GB, free: 15.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.1079, allocations: 324.4 kB / 0.4905 GB, free: 14.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.108, allocations: 29.7 kB / 0.4905 GB, free: 14.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.1081, allocations: 240.1 kB / 0.4908 GB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.1082, allocations: 99.17 kB / 0.4908 GB, free: 14.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1083, allocations: 74.02 kB / 0.4909 GB, free: 14.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1085, allocations: 338.8 kB / 0.4912 GB, free: 13.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.1088, allocations: 128.5 kB / 0.4914 GB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.1092, allocations: 217.2 kB / 0.4916 GB, free: 13.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/0.1098, allocations: 348.7 kB / 0.4919 GB, free: 13.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1098, allocations: 4 kB / 0.4919 GB, free: 13.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001315/0.1111, allocations: 0.5996 MB / 0.4925 GB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1112, allocations: 4 kB / 0.4925 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1112, allocations: 4.281 kB / 0.4925 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/0.113, allocations: 0.8218 MB / 0.4933 GB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.1134, allocations: 87.77 kB / 0.4934 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008553/0.1142, allocations: 1.175 MB / 0.4945 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.1145, allocations: 23.94 kB / 0.4946 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.1145, allocations: 19.98 kB / 0.4946 GB, free: 10.36 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.0001711/0.1147, allocations: 161.8 kB / 0.4947 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.1147, allocations: 31.81 kB / 0.4948 GB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.116, allocations: 0.5291 MB / 0.4953 GB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.116, allocations: 4 kB / 0.4953 GB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.116, allocations: 0 / 0.4953 GB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.116, allocations: 3.984 kB / 0.4953 GB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.1164, allocations: 352.4 kB / 0.4956 GB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1164, allocations: 0 / 0.4956 GB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1166, allocations: 43.91 kB / 0.4957 GB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.1184, allocations: 0.8077 MB / 0.4965 GB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.1184, allocations: 8.125 kB / 0.4965 GB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008156/0.1192, allocations: 1.179 MB / 0.4976 GB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1192, allocations: 0 / 0.4976 GB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.1205, allocations: 0.5903 MB / 0.4982 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.1205, allocations: 27.77 kB / 0.4982 GB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.1205, allocations: 12 kB / 0.4982 GB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.1208, allocations: 19.97 kB / 0.4982 GB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.1208, allocations: 19.91 kB / 0.4983 GB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1208, allocations: 8 kB / 0.4983 GB, free: 6.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.1211, allocations: 223 kB / 0.4985 GB, free: 6.219 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1211, allocations: 0 / 0.4985 GB, free: 6.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.1215, allocations: 103.9 kB / 0.4986 GB, free: 6.117 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.0002176/0.1217, allocations: 143 kB / 0.4987 GB, free: 5.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008453/0.1226, allocations: 301.1 kB / 0.499 GB, free: 5.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1226, allocations: 0 / 0.499 GB, free: 5.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.123, allocations: 179.8 kB / 0.4992 GB, free: 5.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1234, allocations: 47.14 kB / 0.4992 GB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1246, allocations: 0.6708 MB / 0.4999 GB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.125, allocations: 0.7873 MB / 0.5006 GB, free: 3.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.1251, allocations: 31.42 kB / 0.5007 GB, free: 3.914 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1251, allocations: 4 kB / 0.5007 GB, free: 3.91 MB / 366.1 MB Notification: Performance of Templates: time 0.1778/0.3029, allocations: 7.089 MB / 0.5076 GB, free: 26.22 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: 6.970751468092203] Failed to read output from testmodel.py, exit status != 0: 0.3099077991209924 0.32203607500000003 0.22030037500000002 Calling exit ...