Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.001923/0.001923, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002462/0.002462, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.777 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.009743/0.009743, allocations: 1.239 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.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [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.002133/0.002133, allocations: 63.89 kB / 436.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1156, allocations: 53.65 MB / 490.1 MB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.003486/0.1191, allocations: 1.516 MB / 491.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1213, allocations: 1.166 MB / 492.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.1214, allocations: 4 kB / 492.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.122, allocations: 147.3 kB / 493 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008539/0.1228, allocations: 278.6 kB / 493.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.009e-05/0.1228, allocations: 0 / 493.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.123, allocations: 111.5 kB / 493.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/0.1231, allocations: 5.641 kB / 493.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.1231, allocations: 51.72 kB / 493.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.1233, allocations: 75.66 kB / 493.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1233, allocations: 4 kB / 493.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006473/0.124, allocations: 355.2 kB / 493.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.1241, allocations: 35.83 kB / 493.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.1241, allocations: 47.66 kB / 493.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005461/0.1247, allocations: 318.8 kB / 494.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1247, allocations: 0 / 494.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1247, allocations: 0 / 494.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1247, allocations: 3.938 kB / 494.2 MB, free: 5.883 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008223/0.1255, allocations: 421 kB / 494.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1255, allocations: 8.031 kB / 494.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/0.1256, allocations: 16.84 kB / 494.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1259, allocations: 182 kB / 494.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1259, allocations: 384 / 494.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.1259, allocations: 4.375 kB / 494.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1261, allocations: 109.9 kB / 494.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1261, allocations: 0 / 494.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1261, allocations: 0 / 494.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.1262, allocations: 4 kB / 494.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.1264, allocations: 151.9 kB / 495.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.1266, allocations: 205.1 kB / 495.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.1269, allocations: 146.5 kB / 495.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.127, allocations: 72.77 kB / 495.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-05/0.1271, allocations: 39.97 kB / 495.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.1271, allocations: 34.56 kB / 495.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.1271, allocations: 0 / 495.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001744/0.1289, allocations: 366.3 kB / 495.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.1289, allocations: 51.41 kB / 496 MB, free: 3.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.1292, allocations: 219 kB / 496.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.1292, allocations: 25.7 kB / 496.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.1293, allocations: 116.1 kB / 496.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.1293, allocations: 39.66 kB / 496.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.1294, allocations: 25.7 kB / 496.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1295, allocations: 330.8 kB / 496.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.1296, allocations: 55.97 kB / 496.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.1297, allocations: 59.97 kB / 496.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.1299, allocations: 136.8 kB / 497 MB, free: 2.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1299, allocations: 4 kB / 497 MB, free: 2.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007919/0.1307, allocations: 242.7 kB / 497.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.1307, allocations: 4 kB / 497.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1307, allocations: 96 / 497.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006795/0.1314, allocations: 80.66 kB / 497.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.1315, allocations: 15.98 kB / 497.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.1339, allocations: 1.416 MB / 498.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1341, allocations: 7.984 kB / 498.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1341, allocations: 4 kB / 498.7 MB, free: 1.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.1342, allocations: 130 kB / 498.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.1343, allocations: 15.91 kB / 498.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.1352, allocations: 263.6 kB / 499.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1352, allocations: 0 / 499.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1352, allocations: 0 / 499.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1352, allocations: 4 kB / 499.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.1354, allocations: 197.2 kB / 499.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1355, allocations: 0 / 499.3 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.1355, allocations: 19.98 kB / 499.4 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005988/0.1361, allocations: 72.72 kB / 499.4 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1361, allocations: 4.094 kB / 499.4 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.1382, allocations: 1.413 MB / 0.4891 GB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1382, allocations: 0 / 0.4891 GB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007902/0.139, allocations: 265.6 kB / 0.4894 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.139, allocations: 23.84 kB / 0.4894 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.139, allocations: 8.094 kB / 0.4894 GB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.1391, allocations: 4 kB / 0.4894 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1391, allocations: 11.95 kB / 0.4894 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1392, allocations: 4 kB / 0.4894 GB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.1393, allocations: 164.4 kB / 0.4896 GB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1393, allocations: 0 / 0.4896 GB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004053/0.1397, allocations: 83.69 kB / 0.4896 GB, free: 14.23 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003508/0.1401, allocations: 166.9 kB / 0.4898 GB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006405/0.1407, allocations: 266.5 kB / 0.4901 GB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1407, allocations: 0 / 0.4901 GB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.1411, allocations: 202.6 kB / 0.4903 GB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1414, allocations: 24.61 kB / 0.4903 GB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.145, allocations: 0.5777 MB / 0.4908 GB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.1451, allocations: 109.5 kB / 0.4909 GB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.266e-05/0.1452, allocations: 29.36 kB / 0.491 GB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.1452, allocations: 15.42 kB / 0.491 GB, free: 12.78 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1452, allocations: 4 kB / 0.491 GB, free: 12.78 MB / 366.1 MB Notification: Performance of Templates: time 0.008881/0.1541, allocations: 3.565 MB / 0.4945 GB, free: 9.223 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.399899693205953] Failed to read output from testmodel.py, exit status != 0: 0.16327340342104435 0.39205322200000003 0.263106975 Calling exit ...