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.001573/0.001573, 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.001535/0.001535, allocations: 220.4 kB / 23 MB, free: 4.914 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.009489/0.009489, allocations: 1.235 MB / 314.4 MB, free: 1.801 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.002169/0.002169, allocations: 67.91 kB / 437.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09906, allocations: 53.65 MB / 490.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004414/0.1035, allocations: 2.655 MB / 493.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.1064, allocations: 1.565 MB / 495.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1066, allocations: 7.938 kB / 495.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006936/0.1072, allocations: 183.1 kB / 495.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.1075, allocations: 103.2 kB / 495.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007929/0.1083, allocations: 309.5 kB / 495.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.1089, allocations: 398.4 kB / 496.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.109, allocations: 73.97 kB / 496.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.1093, allocations: 159.4 kB / 496.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1095, allocations: 147.2 kB / 496.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.616e-05/0.1096, allocations: 28 kB / 496.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003231/0.1099, allocations: 171.6 kB / 496.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.11, allocations: 79.69 kB / 496.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1101, allocations: 135.3 kB / 496.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.1107, allocations: 470 kB / 497.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1107, allocations: 4 kB / 497.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1107, allocations: 0 / 497.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.1107, allocations: 0 / 497.3 MB, free: 3.578 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.001082/0.1118, allocations: 0.5829 MB / 497.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1118, allocations: 8.031 kB / 497.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.112, allocations: 56.59 kB / 498 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.1125, allocations: 232.9 kB / 498.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.1125, allocations: 21.03 kB / 498.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.1126, allocations: 32.33 kB / 498.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.1131, allocations: 296.1 kB / 498.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1131, allocations: 4 kB / 498.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.1131, allocations: 8 kB / 498.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1131, allocations: 8 kB / 498.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.1136, allocations: 254.4 kB / 498.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.1153, allocations: 0.8749 MB / 499.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.1157, allocations: 230.4 kB / 499.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.116, allocations: 116.9 kB / 0.4883 GB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-05/0.116, allocations: 15.98 kB / 0.4883 GB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1161, allocations: 34.56 kB / 0.4883 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.1161, allocations: 0 / 0.4883 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.004354/0.1204, allocations: 1.475 MB / 0.4898 GB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.1205, allocations: 59.41 kB / 0.4898 GB, free: 15.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.1208, allocations: 276.1 kB / 0.4901 GB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.1208, allocations: 37.7 kB / 0.4901 GB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.121, allocations: 204.5 kB / 0.4903 GB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1211, allocations: 126.9 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1212, allocations: 61.66 kB / 0.4905 GB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1214, allocations: 346.8 kB / 0.4908 GB, free: 14.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.1216, allocations: 112 kB / 0.4909 GB, free: 13.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.1219, allocations: 164.5 kB / 0.4911 GB, free: 13.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.1225, allocations: 302.1 kB / 0.4914 GB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1225, allocations: 3.938 kB / 0.4914 GB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001689/0.1242, allocations: 0.6175 MB / 0.492 GB, free: 12.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1242, allocations: 8 kB / 0.492 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1242, allocations: 0 / 0.492 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/0.1268, allocations: 0.5285 MB / 0.4925 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1271, allocations: 63.89 kB / 0.4926 GB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.1282, allocations: 1.288 MB / 0.4938 GB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.1284, allocations: 16 kB / 0.4939 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.1284, allocations: 19.97 kB / 0.4939 GB, free: 10.84 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.0002013/0.1286, allocations: 159.6 kB / 0.494 GB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.1287, allocations: 27.81 kB / 0.4941 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.1303, allocations: 0.576 MB / 0.4946 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1303, allocations: 4 kB / 0.4946 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1303, allocations: 0 / 0.4946 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.1303, allocations: 7.984 kB / 0.4946 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.1324, allocations: 0.9462 MB / 0.4955 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1324, allocations: 0 / 0.4955 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.1326, allocations: 47.95 kB / 0.4956 GB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/0.1352, allocations: 0.5324 MB / 0.4961 GB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.1352, allocations: 12 kB / 0.4961 GB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.1363, allocations: 1.269 MB / 0.4974 GB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1363, allocations: 4.125 kB / 0.4974 GB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.1381, allocations: 0.811 MB / 0.4982 GB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.1382, allocations: 27.84 kB / 0.4982 GB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.1382, allocations: 12.06 kB / 0.4982 GB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.1384, allocations: 11.98 kB / 0.4982 GB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.1385, allocations: 27.89 kB / 0.4982 GB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1385, allocations: 8 kB / 0.4982 GB, free: 6.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.1387, allocations: 195.3 kB / 0.4984 GB, free: 6.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1387, allocations: 4 kB / 0.4984 GB, free: 6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000409/0.1391, allocations: 87.88 kB / 0.4985 GB, free: 5.914 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.0002269/0.1393, allocations: 139 kB / 0.4987 GB, free: 5.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000785/0.1401, allocations: 320.6 kB / 0.499 GB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1401, allocations: 7.938 kB / 0.499 GB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.1405, allocations: 167.8 kB / 0.4991 GB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1409, allocations: 37.02 kB / 0.4992 GB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.1424, allocations: 0.7804 MB / 0.4999 GB, free: 4.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.1426, allocations: 185.5 kB / 0.5001 GB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.1426, allocations: 19.44 kB / 0.5001 GB, free: 4.203 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1426, allocations: 0 / 0.5001 GB, free: 4.203 MB / 366.1 MB Notification: Performance of Templates: time 0.2005/0.3432, allocations: 6.57 MB / 0.5065 GB, free: 26.81 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: 8.284794343169779] Failed to read output from testmodel.py, exit status != 0: 0.35065506724640727 0.36322874099999997 0.24975274699999994 Calling exit ...