Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.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.001971/0.001971, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002278/0.002278, allocations: 217.7 kB / 22.26 MB, free: 5.125 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.969 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.009531/0.009531, allocations: 1.247 MB / 313.7 MB, free: 1.961 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.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") translateModel(FluxTubesExtension.Examples.SaturatedInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor") [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.002091/0.002091, allocations: 65.3 kB / 436.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09627, allocations: 53.63 MB / 490.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004861/0.1011, allocations: 2.861 MB / 493 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.1042, allocations: 1.725 MB / 494.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.1044, allocations: 7.938 kB / 494.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.1051, allocations: 195 kB / 495 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1054, allocations: 107.1 kB / 495.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.1061, allocations: 310.8 kB / 495.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005657/0.1067, allocations: 398.4 kB / 495.8 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.1069, allocations: 77.97 kB / 495.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.1071, allocations: 155.4 kB / 496 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.1074, allocations: 171.2 kB / 496.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.1074, allocations: 31.94 kB / 496.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004136/0.1079, allocations: 239.6 kB / 496.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.108, allocations: 79.69 kB / 496.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.1081, allocations: 175 kB / 496.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.1088, allocations: 466.1 kB / 497.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1088, allocations: 0 / 497.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1088, allocations: 0 / 497.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1088, allocations: 0 / 497.1 MB, free: 3.27 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001143/0.1099, allocations: 0.5944 MB / 497.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1099, allocations: 8.031 kB / 497.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.1101, allocations: 56.64 kB / 497.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.1105, allocations: 225 kB / 498 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1106, allocations: 21.03 kB / 498 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.1106, allocations: 28.33 kB / 498 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.1111, allocations: 278.3 kB / 498.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1112, allocations: 0 / 498.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.1112, allocations: 12 kB / 498.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.1112, allocations: 8 kB / 498.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.1117, allocations: 242.5 kB / 498.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.1135, allocations: 1.034 MB / 499.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/0.1139, allocations: 242.4 kB / 499.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.1142, allocations: 112.8 kB / 500 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.1142, allocations: 12 kB / 500 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.1143, allocations: 38.5 kB / 0.4883 GB, free: 228 kB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.1143, allocations: 0 / 0.4883 GB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.004512/0.1188, allocations: 1.479 MB / 0.4897 GB, free: 14.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.1188, allocations: 59.41 kB / 0.4898 GB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.1192, allocations: 280.2 kB / 0.4901 GB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.1192, allocations: 33.7 kB / 0.4901 GB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1194, allocations: 204.5 kB / 0.4903 GB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.1195, allocations: 126.9 kB / 0.4904 GB, free: 13.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.1196, allocations: 69.61 kB / 0.4905 GB, free: 13.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1197, allocations: 346.7 kB / 0.4908 GB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.12, allocations: 112 kB / 0.4909 GB, free: 13.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.1203, allocations: 168.5 kB / 0.4911 GB, free: 13.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.1208, allocations: 302 kB / 0.4914 GB, free: 12.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1208, allocations: 0 / 0.4914 GB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001715/0.1226, allocations: 0.6252 MB / 0.492 GB, free: 12.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1226, allocations: 4 kB / 0.492 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1226, allocations: 8 kB / 0.492 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002788/0.1254, allocations: 0.5246 MB / 0.4925 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.1257, allocations: 63.89 kB / 0.4925 GB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.1267, allocations: 1.284 MB / 0.4938 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.127, allocations: 12.12 kB / 0.4938 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.127, allocations: 15.98 kB / 0.4938 GB, free: 10.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (30): * Single equations (assignments): 28 * 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,8), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001878/0.1272, allocations: 159.4 kB / 0.494 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.425e-05/0.1272, allocations: 35.77 kB / 0.494 GB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.1289, allocations: 0.5723 MB / 0.4946 GB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1289, allocations: 4 kB / 0.4946 GB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1289, allocations: 0 / 0.4946 GB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1289, allocations: 3.984 kB / 0.4946 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.1311, allocations: 1.028 MB / 0.4956 GB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1311, allocations: 0 / 0.4956 GB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.1314, allocations: 55.97 kB / 0.4956 GB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.1341, allocations: 0.5168 MB / 0.4961 GB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.1341, allocations: 12 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.1351, allocations: 1.284 MB / 0.4974 GB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1351, allocations: 4 kB / 0.4974 GB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.137, allocations: 0.8147 MB / 0.4982 GB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.1371, allocations: 27.83 kB / 0.4982 GB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.1371, allocations: 8 kB / 0.4982 GB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.1373, allocations: 15.94 kB / 0.4983 GB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.1374, allocations: 23.89 kB / 0.4983 GB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.1374, allocations: 12 kB / 0.4983 GB, free: 5.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002262/0.1376, allocations: 207.1 kB / 0.4985 GB, free: 5.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1376, allocations: 0 / 0.4985 GB, free: 5.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000424/0.138, allocations: 91.94 kB / 0.4986 GB, free: 5.324 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * 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 (20): * Single equations (assignments): 18 * 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,8), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002166/0.1383, allocations: 131.2 kB / 0.4987 GB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007848/0.139, allocations: 312.5 kB / 0.499 GB, free: 4.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.139, allocations: 4.25 kB / 0.499 GB, free: 4.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004248/0.1395, allocations: 171.8 kB / 0.4992 GB, free: 4.711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.1399, allocations: 40.58 kB / 0.4992 GB, free: 4.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.1413, allocations: 0.7647 MB / 0.5 GB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004522/0.1418, allocations: 0.7876 MB / 0.5007 GB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.1419, allocations: 26.27 kB / 0.5007 GB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.1419, allocations: 23.38 kB / 0.5008 GB, free: 3.008 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1419, allocations: 4 kB / 0.5008 GB, free: 3.004 MB / 366.1 MB Notification: Performance of Templates: time 0.2036/0.3456, allocations: 4.035 MB / 0.5047 GB, free: 26.31 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.SaturatedInductor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.930729649029672] Failed to read output from testmodel.py, exit status != 0: 0.35265050595626235 0.36533238300000004 0.25398788 Calling exit ...