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.001131/0.001131, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009694/0.0009694, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.887/0.887, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.004173/0.004173, allocations: 0.9568 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.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.934e-06/1.934e-06, allocations: 0 / 383.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.615e-05, allocations: 6.281 kB / 383.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.SaturatedInductor): time 0.003027/0.003053, allocations: 2.661 MB / 386.4 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.005249, allocations: 1.58 MB / 388 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.00544, allocations: 4 kB / 388 MB, free: 9.539 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.006164, allocations: 186.9 kB / 388.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.006393, allocations: 99.17 kB / 388.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/0.007094, allocations: 318.9 kB / 388.6 MB, free: 8.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005012/0.007595, allocations: 406.3 kB / 389 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.00776, allocations: 66.05 kB / 389.1 MB, free: 8.484 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.008045, allocations: 219.5 kB / 389.3 MB, free: 8.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.008217, allocations: 123.6 kB / 389.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.008254, allocations: 32 kB / 389.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.008534, allocations: 171.6 kB / 389.6 MB, free: 7.949 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/0.008617, allocations: 91.59 kB / 389.7 MB, free: 7.859 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.008708, allocations: 107.8 kB / 389.8 MB, free: 7.754 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.009195, allocations: 474.5 kB / 390.3 MB, free: 7.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.009198, allocations: 3.938 kB / 390.3 MB, free: 7.285 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.009199, allocations: 0 / 390.3 MB, free: 7.285 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.009207, allocations: 0 / 390.3 MB, free: 7.285 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007915/0.009998, allocations: 0.5829 MB / 390.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.01004, allocations: 8.031 kB / 390.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.01018, allocations: 48.69 kB / 390.9 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.01046, allocations: 224.6 kB / 391.1 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.01048, allocations: 21.03 kB / 391.2 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.01052, allocations: 36.36 kB / 391.2 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.01089, allocations: 296.3 kB / 391.5 MB, free: 6.016 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.0109, allocations: 4.125 kB / 391.5 MB, free: 6.012 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.01092, allocations: 12.38 kB / 391.5 MB, free: 6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.01093, allocations: 7.938 kB / 391.5 MB, free: 5.992 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.01123, allocations: 250.4 kB / 391.8 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.01231, allocations: 0.8796 MB / 392.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.01261, allocations: 238.6 kB / 392.9 MB, free: 4.574 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.01278, allocations: 116.7 kB / 393 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.01283, allocations: 20.05 kB / 393 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.01285, allocations: 38.56 kB / 393 MB, free: 4.391 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.01285, allocations: 0 / 393 MB, free: 4.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.002553/0.01541, allocations: 1.456 MB / 394.5 MB, free: 2.898 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.01544, allocations: 55.41 kB / 394.5 MB, free: 2.832 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.01564, allocations: 284.1 kB / 394.8 MB, free: 2.543 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.01566, allocations: 29.7 kB / 394.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.01576, allocations: 204.4 kB / 395.1 MB, free: 2.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/0.01583, allocations: 130.8 kB / 395.2 MB, free: 2.176 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.0159, allocations: 65.66 kB / 395.2 MB, free: 2.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.016, allocations: 342.8 kB / 395.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.01615, allocations: 119.9 kB / 395.7 MB, free: 1.645 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.01631, allocations: 168.5 kB / 395.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.01664, allocations: 294.1 kB / 396.1 MB, free: 1.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.01664, allocations: 4 kB / 396.2 MB, free: 1.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008912/0.01753, allocations: 0.6252 MB / 396.8 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01754, allocations: 4 kB / 396.8 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01755, allocations: 0 / 396.8 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.01884, allocations: 0.5324 MB / 397.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.01901, allocations: 63.89 kB / 397.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000622/0.01963, allocations: 1.284 MB / 398.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.01972, allocations: 8.031 kB / 398.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.01973, allocations: 20 kB / 398.7 MB, free: 14.55 MB / 330.7 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.0001317/0.01987, allocations: 157.9 kB / 398.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.0199, allocations: 39.7 kB / 398.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008541/0.02076, allocations: 0.5758 MB / 399.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.02076, allocations: 8 kB / 399.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.02076, allocations: 0 / 399.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.02077, allocations: 7.969 kB / 399.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.02193, allocations: 0.9385 MB / 400.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.02193, allocations: 0 / 400.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.02204, allocations: 47.91 kB / 400.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.02321, allocations: 0.5285 MB / 401 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.02323, allocations: 7.984 kB / 401 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005544/0.02379, allocations: 1.277 MB / 402.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.02379, allocations: 3.938 kB / 402.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.02474, allocations: 0.8116 MB / 403.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.02477, allocations: 31.84 kB / 403.1 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.0248, allocations: 4 kB / 403.1 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.02489, allocations: 15.98 kB / 403.1 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.02493, allocations: 15.97 kB / 403.1 MB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.02494, allocations: 11.98 kB / 403.2 MB, free: 9.914 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.02508, allocations: 195.1 kB / 403.4 MB, free: 9.727 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02508, allocations: 4.062 kB / 403.4 MB, free: 9.723 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.02535, allocations: 95.88 kB / 403.4 MB, free: 9.629 MB / 330.7 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.0002117/0.02556, allocations: 135 kB / 403.6 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.02602, allocations: 308 kB / 403.9 MB, free: 9.188 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.02603, allocations: 4.438 kB / 403.9 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.02624, allocations: 183.6 kB / 404.1 MB, free: 9.004 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.0265, allocations: 42.55 kB / 404.1 MB, free: 8.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/0.02744, allocations: 0.7321 MB / 404.8 MB, free: 8.184 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.02756, allocations: 181.5 kB / 405 MB, free: 7.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.02761, allocations: 32.48 kB / 405 MB, free: 7.961 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02761, allocations: 0 / 405 MB, free: 7.961 MB / 330.7 MB Notification: Performance of Templates: time 0.00641/0.03402, allocations: 6.579 MB / 411.6 MB, free: 1.375 MB / 330.7 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.899768834002316] Failed to read output from testmodel.py, exit status != 0: 0.19290867447853088 0.20180861500000002 0.19083112700000002 Calling exit ...