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.001452/0.001452, allocations: 80.38 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.00154/0.00154, allocations: 162.6 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.152 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.008793/0.008793, allocations: 0.9545 MB / 260.1 MB, free: 15.82 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.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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 383 MB, free: 3.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.408e-05/3.583e-05, allocations: 6.219 kB / 383 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.004565/0.0046, allocations: 2.671 MB / 385.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.007759, allocations: 1.58 MB / 387.3 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.007941, allocations: 7.938 kB / 387.3 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007632/0.008704, allocations: 179 kB / 387.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.008971, allocations: 111 kB / 387.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009056/0.009876, allocations: 322.2 kB / 387.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.01047, allocations: 402.3 kB / 388.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.01068, allocations: 66.05 kB / 388.3 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.01107, allocations: 219.5 kB / 388.6 MB, free: 14.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.01132, allocations: 131.6 kB / 388.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.01138, allocations: 32 kB / 388.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.01177, allocations: 171.6 kB / 388.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.01188, allocations: 75.73 kB / 389 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.01203, allocations: 115.7 kB / 389.1 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006735/0.0127, allocations: 470.5 kB / 389.5 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.0127, allocations: 0 / 389.5 MB, free: 13.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.01271, allocations: 3.938 kB / 389.5 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.01272, allocations: 4 kB / 389.5 MB, free: 13.07 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001146/0.01387, allocations: 0.5806 MB / 390.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.01391, allocations: 8.031 kB / 390.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.01411, allocations: 48.69 kB / 390.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.01456, allocations: 232.6 kB / 390.4 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.0146, allocations: 24.97 kB / 390.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.01465, allocations: 28.38 kB / 390.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.01523, allocations: 292.3 kB / 390.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.01524, allocations: 4.172 kB / 390.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.01528, allocations: 12.38 kB / 390.8 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.01529, allocations: 11.94 kB / 390.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005471/0.01583, allocations: 238.5 kB / 391 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.01751, allocations: 0.8835 MB / 391.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.01801, allocations: 230.3 kB / 392.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.01829, allocations: 124.7 kB / 392.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.01834, allocations: 16 kB / 392.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.01838, allocations: 42.48 kB / 392.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.01838, allocations: 0 / 392.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004717/0.0231, allocations: 1.461 MB / 393.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.02315, allocations: 59.39 kB / 393.8 MB, free: 8.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.02356, allocations: 272.1 kB / 394.1 MB, free: 8.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.0236, allocations: 29.7 kB / 394.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.02378, allocations: 212.4 kB / 394.3 MB, free: 8.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.02391, allocations: 122.9 kB / 394.4 MB, free: 7.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.02402, allocations: 69.66 kB / 394.5 MB, free: 7.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.02418, allocations: 338.8 kB / 394.8 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.02444, allocations: 116 kB / 394.9 MB, free: 7.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.02473, allocations: 172.4 kB / 395.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.02528, allocations: 302.1 kB / 395.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.02528, allocations: 0 / 395.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001722/0.027, allocations: 0.6291 MB / 396 MB, free: 6.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.02702, allocations: 4 kB / 396 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.02703, allocations: 0 / 396 MB, free: 6.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.02983, allocations: 0.5324 MB / 396.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.03013, allocations: 59.91 kB / 396.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.0312, allocations: 1.28 MB / 397.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.03144, allocations: 15.95 kB / 397.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.03146, allocations: 16.12 kB / 397.9 MB, free: 4.344 MB / 318.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.000211/0.03167, allocations: 153.8 kB / 398.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.03175, allocations: 39.7 kB / 398.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/0.0335, allocations: 0.576 MB / 398.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.0335, allocations: 7.938 kB / 398.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.03351, allocations: 0 / 398.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.03352, allocations: 3.984 kB / 398.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.03578, allocations: 0.9384 MB / 399.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.03578, allocations: 0 / 399.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.03602, allocations: 51.91 kB / 399.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002691/0.03872, allocations: 0.5324 MB / 400.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.03874, allocations: 8 kB / 400.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.03996, allocations: 1.273 MB / 401.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.03996, allocations: 3.938 kB / 401.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.04191, allocations: 0.8077 MB / 402.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.04197, allocations: 31.84 kB / 402.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.04201, allocations: 4 kB / 402.4 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.04222, allocations: 15.98 kB / 402.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.04228, allocations: 23.89 kB / 402.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.0423, allocations: 16.06 kB / 402.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.04252, allocations: 191.1 kB / 402.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04252, allocations: 0 / 402.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000431/0.04295, allocations: 99.81 kB / 402.7 MB, free: 15.42 MB / 334.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.0002748/0.04323, allocations: 135.1 kB / 402.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.04402, allocations: 312 kB / 403.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.04402, allocations: 4 kB / 403.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.04447, allocations: 175.7 kB / 403.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.04486, allocations: 32.64 kB / 403.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.04628, allocations: 0.7039 MB / 404 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.04646, allocations: 189.5 kB / 404.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.817e-05/0.04656, allocations: 26.28 kB / 404.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.04661, allocations: 20.5 kB / 404.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.04661, allocations: 0 / 404.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of Templates: time 0.008962/0.05558, allocations: 3.164 MB / 407.4 MB, free: 10.64 MB / 334.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.607537727802992] Failed to read output from testmodel.py, exit status != 0: 0.06631575152277946 0.094732906 0.076450003 Calling exit ...