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.001276/0.001276, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001416/0.001416, allocations: 221.8 kB / 23 MB, free: 4.91 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.009871/0.009871, allocations: 1.247 MB / 314.4 MB, free: 1.797 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.002078/0.002078, allocations: 67.89 kB / 437.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.1006, allocations: 53.64 MB / 490.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.004697/0.1053, allocations: 2.82 MB / 493.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.1079, allocations: 1.324 MB / 495 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1081, allocations: 4 kB / 495 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.1087, allocations: 151 kB / 495.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.109, allocations: 127 kB / 495.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.1098, allocations: 278.9 kB / 495.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.1103, allocations: 430.4 kB / 496 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.1105, allocations: 91.67 kB / 496.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.1108, allocations: 195.2 kB / 496.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.1111, allocations: 175.1 kB / 496.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.1111, allocations: 39.98 kB / 496.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.1114, allocations: 183.6 kB / 496.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1116, allocations: 87.69 kB / 496.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.1117, allocations: 163.2 kB / 496.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.1124, allocations: 0.5175 MB / 497.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1124, allocations: 0 / 497.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1124, allocations: 4 kB / 497.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1125, allocations: 0 / 497.4 MB, free: 3.492 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.001357/0.1138, allocations: 0.645 MB / 498.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1139, allocations: 8.031 kB / 498.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.1139, allocations: 44.66 kB / 498.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.1145, allocations: 265.9 kB / 498.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.1145, allocations: 29.03 kB / 498.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.1146, allocations: 32.38 kB / 498.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.1152, allocations: 302.3 kB / 498.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1152, allocations: 0 / 498.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.1153, allocations: 12 kB / 498.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.1153, allocations: 11.94 kB / 498.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.1159, allocations: 270.5 kB / 499 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.1177, allocations: 0.9328 MB / 499.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.1181, allocations: 196.9 kB / 0.4884 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.1183, allocations: 80.81 kB / 0.4885 GB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.1184, allocations: 8 kB / 0.4885 GB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.1184, allocations: 42.5 kB / 0.4885 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.1184, allocations: 0 / 0.4885 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002937/0.1214, allocations: 0.894 MB / 0.4894 GB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.1214, allocations: 55.64 kB / 0.4895 GB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.1218, allocations: 328.3 kB / 0.4898 GB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1218, allocations: 29.7 kB / 0.4898 GB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.122, allocations: 248.1 kB / 0.49 GB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.1221, allocations: 95.17 kB / 0.4901 GB, free: 14.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.1222, allocations: 70.08 kB / 0.4902 GB, free: 14.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1224, allocations: 342.8 kB / 0.4905 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.1227, allocations: 120.7 kB / 0.4906 GB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.1231, allocations: 217.1 kB / 0.4909 GB, free: 14.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/0.1238, allocations: 352.6 kB / 0.4912 GB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1239, allocations: 4 kB / 0.4912 GB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001416/0.1253, allocations: 0.6075 MB / 0.4918 GB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1253, allocations: 14.17 kB / 0.4918 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1253, allocations: 0 / 0.4918 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.1272, allocations: 0.8201 MB / 0.4926 GB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.1275, allocations: 71.89 kB / 0.4927 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009581/0.1285, allocations: 1.175 MB / 0.4938 GB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.1288, allocations: 28.09 kB / 0.4938 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.1288, allocations: 16 kB / 0.4939 GB, free: 10.85 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.0001945/0.129, allocations: 157.7 kB / 0.494 GB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.129, allocations: 39.75 kB / 0.494 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.1304, allocations: 0.5174 MB / 0.4946 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1304, allocations: 7.984 kB / 0.4946 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1304, allocations: 0 / 0.4946 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1304, allocations: 0 / 0.4946 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.1308, allocations: 265.2 kB / 0.4948 GB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1308, allocations: 3.938 kB / 0.4948 GB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.131, allocations: 43.97 kB / 0.4949 GB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.1328, allocations: 0.8194 MB / 0.4957 GB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.1328, allocations: 4.125 kB / 0.4957 GB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008976/0.1337, allocations: 1.175 MB / 0.4968 GB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1337, allocations: 3.938 kB / 0.4968 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.135, allocations: 0.5981 MB / 0.4974 GB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.1351, allocations: 31.8 kB / 0.4974 GB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.1351, allocations: 4 kB / 0.4974 GB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.1353, allocations: 15.98 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.1354, allocations: 23.91 kB / 0.4975 GB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1354, allocations: 7.984 kB / 0.4975 GB, free: 7.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.1357, allocations: 219.1 kB / 0.4977 GB, free: 6.801 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1357, allocations: 0 / 0.4977 GB, free: 6.801 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004536/0.1361, allocations: 103.9 kB / 0.4978 GB, free: 6.699 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.0002212/0.1363, allocations: 138 kB / 0.4979 GB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009179/0.1373, allocations: 312.5 kB / 0.4982 GB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1373, allocations: 0 / 0.4982 GB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.1377, allocations: 171.7 kB / 0.4984 GB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1381, allocations: 45.69 kB / 0.4984 GB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1394, allocations: 0.6609 MB / 0.4991 GB, free: 5.348 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.1396, allocations: 190.5 kB / 0.4992 GB, free: 5.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.1397, allocations: 23.44 kB / 0.4993 GB, free: 5.121 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1397, allocations: 4 kB / 0.4993 GB, free: 5.117 MB / 366.1 MB Notification: Performance of Templates: time 0.2012/0.3409, allocations: 7.232 MB / 0.5063 GB, free: 27.07 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: 7.9305835366249084] Failed to read output from testmodel.py, exit status != 0: 0.34804908419027925 0.36163924 0.24644180799999996 Calling exit ...