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.0006464/0.0006464, allocations: 80.44 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001224/0.001224, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9144/0.9144, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.004446/0.004446, allocations: 0.9524 MB / 260.9 MB, free: 12.4 MB / 250.7 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.162e-06/1.162e-06, allocations: 0 / 383.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.608e-05, allocations: 2.281 kB / 383.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ToroidalCoreAirgap): time 0.002881/0.002897, allocations: 2.83 MB / 386.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.004859, allocations: 1.32 MB / 387.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.005059, allocations: 7.938 kB / 387.9 MB, free: 9.656 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.005503, allocations: 143 kB / 388.1 MB, free: 9.516 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.005805, allocations: 134.9 kB / 388.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006704/0.006476, allocations: 286.7 kB / 388.5 MB, free: 9.105 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.006849, allocations: 434.2 kB / 388.9 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.007008, allocations: 99.45 kB / 389 MB, free: 8.578 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.007292, allocations: 259.3 kB / 389.3 MB, free: 8.324 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.007436, allocations: 147.5 kB / 389.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.00747, allocations: 36 kB / 389.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.007686, allocations: 191.5 kB / 389.6 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.007766, allocations: 95.66 kB / 389.7 MB, free: 7.863 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.896e-05/0.007855, allocations: 131.7 kB / 389.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.008279, allocations: 0.5412 MB / 390.4 MB, free: 7.191 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.008281, allocations: 0 / 390.4 MB, free: 7.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.008282, allocations: 0 / 390.4 MB, free: 7.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.008286, allocations: 0 / 390.4 MB, free: 7.191 MB / 314.7 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.0007644/0.009051, allocations: 0.6372 MB / 391 MB, free: 6.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.009082, allocations: 12.03 kB / 391 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.009135, allocations: 44.66 kB / 391.1 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.00943, allocations: 261.1 kB / 391.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.009453, allocations: 25.03 kB / 391.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.00949, allocations: 32.38 kB / 391.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.01011, allocations: 302.6 kB / 391.7 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.01012, allocations: 192 / 391.7 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.01014, allocations: 20.3 kB / 391.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.01015, allocations: 15.88 kB / 391.7 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.0105, allocations: 274.5 kB / 392 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009729/0.01148, allocations: 0.926 MB / 392.9 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.01173, allocations: 192.8 kB / 393.1 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.01184, allocations: 80.77 kB / 393.2 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.01188, allocations: 12 kB / 393.2 MB, free: 4.254 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.0119, allocations: 38.5 kB / 393.2 MB, free: 4.207 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.0119, allocations: 0 / 393.2 MB, free: 4.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.001542/0.01344, allocations: 0.9065 MB / 394.2 MB, free: 3.285 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.01347, allocations: 55.62 kB / 394.2 MB, free: 3.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.01369, allocations: 324.4 kB / 394.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.01371, allocations: 29.7 kB / 394.6 MB, free: 2.863 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01381, allocations: 252 kB / 394.8 MB, free: 2.613 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.01386, allocations: 95.17 kB / 394.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.01392, allocations: 66.06 kB / 395 MB, free: 2.445 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.01401, allocations: 338.8 kB / 395.3 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.01418, allocations: 120.7 kB / 395.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.01438, allocations: 221.2 kB / 395.6 MB, free: 1.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.01476, allocations: 348.7 kB / 396 MB, free: 1.348 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01476, allocations: 0 / 396 MB, free: 1.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007238/0.01548, allocations: 0.608 MB / 396.6 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.01549, allocations: 4 kB / 396.6 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.0155, allocations: 4 kB / 396.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009482/0.01645, allocations: 0.8229 MB / 397.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.01662, allocations: 71.89 kB / 397.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007697/0.01739, allocations: 1.171 MB / 398.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01751, allocations: 28.11 kB / 398.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.01753, allocations: 19.97 kB / 398.7 MB, free: 14.56 MB / 330.7 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.0001127/0.01764, allocations: 157.7 kB / 398.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.01768, allocations: 39.83 kB / 398.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/0.01836, allocations: 0.5182 MB / 399.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01837, allocations: 7.938 kB / 399.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01837, allocations: 0 / 399.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01838, allocations: 3.984 kB / 399.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.0186, allocations: 265.2 kB / 399.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.0186, allocations: 0 / 399.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.0187, allocations: 47.91 kB / 399.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008326/0.01954, allocations: 0.806 MB / 400.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.01955, allocations: 15.98 kB / 400.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000432/0.01998, allocations: 1.167 MB / 401.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01999, allocations: 0 / 401.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000623/0.02061, allocations: 0.5981 MB / 402.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.02064, allocations: 23.81 kB / 402.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.02067, allocations: 4 kB / 402.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.02077, allocations: 23.97 kB / 402.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.0208, allocations: 15.91 kB / 402.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.02081, allocations: 8.125 kB / 402.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.02095, allocations: 223.1 kB / 402.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02096, allocations: 0 / 402.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.02122, allocations: 99.86 kB / 402.7 MB, free: 10.42 MB / 330.7 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.0001701/0.02139, allocations: 143 kB / 402.8 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005041/0.02189, allocations: 316.8 kB / 403.1 MB, free: 9.965 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.02189, allocations: 0 / 403.1 MB, free: 9.965 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.02212, allocations: 167.7 kB / 403.3 MB, free: 9.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.02237, allocations: 63.47 kB / 403.4 MB, free: 9.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007528/0.02312, allocations: 0.6263 MB / 404 MB, free: 9.082 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.02323, allocations: 190.4 kB / 404.2 MB, free: 8.879 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.02329, allocations: 28.5 kB / 404.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02329, allocations: 4 kB / 404.2 MB, free: 8.848 MB / 330.7 MB Notification: Performance of Templates: time 0.006136/0.02943, allocations: 7.258 MB / 411.5 MB, free: 1.59 MB / 330.7 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: 5.06297337077558] Failed to read output from testmodel.py, exit status != 0: 0.18205512315034866 0.193225518 0.18301488300000002 Calling exit ...