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.001324/0.001324, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001706/0.001706, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.517/1.517, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.009148/0.009148, allocations: 0.9517 MB / 260.1 MB, free: 15.84 MB / 254.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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 383 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.877e-05, allocations: 2.281 kB / 383 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.005336/0.005365, allocations: 2.829 MB / 385.9 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.008211, allocations: 1.331 MB / 387.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003043/0.008516, allocations: 11.94 kB / 387.2 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.009149, allocations: 151 kB / 387.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.00964, allocations: 119 kB / 387.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.01064, allocations: 291 kB / 387.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006869/0.01132, allocations: 446.2 kB / 388.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.01157, allocations: 91.48 kB / 388.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005324/0.0121, allocations: 263.3 kB / 388.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.01238, allocations: 143.6 kB / 388.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.01245, allocations: 36 kB / 388.7 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.01284, allocations: 187.5 kB / 388.9 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.01298, allocations: 95.64 kB / 389 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.01317, allocations: 131.6 kB / 389.1 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008421/0.01401, allocations: 0.5257 MB / 389.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01401, allocations: 3.938 kB / 389.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01401, allocations: 4 kB / 389.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.01404, allocations: 0 / 389.6 MB, free: 12.96 MB / 318.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.001576/0.01561, allocations: 0.6427 MB / 390.3 MB, free: 12.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.01565, allocations: 12.03 kB / 390.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.819e-05/0.01575, allocations: 48.66 kB / 390.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.01629, allocations: 265.1 kB / 390.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.01632, allocations: 21.03 kB / 390.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.589e-05/0.0164, allocations: 36.36 kB / 390.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006983/0.01709, allocations: 294.6 kB / 390.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.01711, allocations: 4.172 kB / 390.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.01715, allocations: 20.36 kB / 391 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.01717, allocations: 11.94 kB / 391 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.01793, allocations: 278.4 kB / 391.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.02016, allocations: 0.9221 MB / 392.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.02072, allocations: 186.6 kB / 392.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.02095, allocations: 80.77 kB / 392.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.773e-05/0.021, allocations: 15.92 kB / 392.5 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.02103, allocations: 34.56 kB / 392.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.02104, allocations: 0 / 392.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.003423/0.02446, allocations: 0.9056 MB / 393.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.02451, allocations: 55.64 kB / 393.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.02494, allocations: 324.3 kB / 393.8 MB, free: 8.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.02497, allocations: 29.7 kB / 393.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.02517, allocations: 248.1 kB / 394 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.02526, allocations: 99.16 kB / 394.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.02542, allocations: 62.08 kB / 394.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.02566, allocations: 342.8 kB / 394.5 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.02606, allocations: 116.7 kB / 394.6 MB, free: 7.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.02649, allocations: 225.1 kB / 394.9 MB, free: 7.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007634/0.02725, allocations: 352.7 kB / 395.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.02725, allocations: 0 / 395.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001531/0.02879, allocations: 0.6033 MB / 395.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.02881, allocations: 4 kB / 395.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.02882, allocations: 4 kB / 395.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/0.03093, allocations: 0.8243 MB / 396.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.03128, allocations: 79.83 kB / 396.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009989/0.03227, allocations: 1.171 MB / 397.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.03259, allocations: 28.09 kB / 397.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.03262, allocations: 16 kB / 397.9 MB, free: 4.328 MB / 318.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.0002301/0.03285, allocations: 153.8 kB / 398.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.03294, allocations: 39.7 kB / 398.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.03439, allocations: 0.5259 MB / 398.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.0344, allocations: 7.938 kB / 398.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.03441, allocations: 0 / 398.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.03442, allocations: 3.984 kB / 398.7 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.0349, allocations: 261.2 kB / 398.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.0349, allocations: 0 / 398.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.03513, allocations: 39.97 kB / 399 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/0.03707, allocations: 0.8196 MB / 399.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.0371, allocations: 8 kB / 399.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.03815, allocations: 1.167 MB / 400.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03816, allocations: 4.125 kB / 401 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.03963, allocations: 0.6018 MB / 401.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.03971, allocations: 27.8 kB / 401.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.03976, allocations: 8 kB / 401.6 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.03999, allocations: 19.98 kB / 401.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.04006, allocations: 15.97 kB / 401.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.04008, allocations: 8 kB / 401.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003011/0.04038, allocations: 223 kB / 401.8 MB, free: 288 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.04038, allocations: 0 / 401.8 MB, free: 288 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.04092, allocations: 99.88 kB / 401.9 MB, free: 188 kB / 318.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.0003304/0.04125, allocations: 139.1 kB / 402.1 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.04228, allocations: 311.6 kB / 402.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.04228, allocations: 0 / 402.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/0.0428, allocations: 177 kB / 402.6 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.04322, allocations: 47.5 kB / 402.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.04458, allocations: 0.5974 MB / 403.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.04479, allocations: 194.4 kB / 403.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.04493, allocations: 34.91 kB / 403.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.04501, allocations: 28.48 kB / 403.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.04501, allocations: 0 / 403.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of Templates: time 0.009451/0.05446, allocations: 3.654 MB / 407.1 MB, free: 11.02 MB / 334.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: 4.604806907474995] Failed to read output from testmodel.py, exit status != 0: 0.06336678564548492 0.07908272100000001 0.06173748800000001 Calling exit ...