Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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.0009666/0.0009666, 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.001009/0.001009, allocations: 178.2 kB / 23.22 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.9059/0.9059, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.004307/0.004307, allocations: 0.956 MB / 260.9 MB, free: 12.41 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.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 383.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.679e-05/1.788e-05, allocations: 7.906 kB / 383.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.001626/0.001644, allocations: 1.535 MB / 385.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.003077, allocations: 1.175 MB / 386.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.003118, allocations: 3.938 kB / 386.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.003492, allocations: 143.3 kB / 386.6 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.003836, allocations: 278.7 kB / 386.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.869e-06/0.003841, allocations: 0 / 386.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.003941, allocations: 115.4 kB / 387 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.00398, allocations: 13.56 kB / 387 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.908e-05/0.004039, allocations: 55.83 kB / 387.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.004148, allocations: 55.81 kB / 387.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.004163, allocations: 4 kB / 387.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.004492, allocations: 367 kB / 387.5 MB, free: 10.1 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.004532, allocations: 35.89 kB / 387.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.004561, allocations: 31.86 kB / 387.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.004851, allocations: 342.9 kB / 387.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004853, allocations: 0 / 387.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004854, allocations: 0 / 387.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004857, allocations: 0 / 387.9 MB, free: 9.695 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004358/0.005293, allocations: 417 kB / 388.3 MB, free: 9.258 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.005325, allocations: 8.031 kB / 388.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.00536, allocations: 24.78 kB / 388.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.005522, allocations: 177.2 kB / 388.5 MB, free: 9.027 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.005531, allocations: 8.375 kB / 388.5 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.005541, allocations: 4.375 kB / 388.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.005656, allocations: 98.2 kB / 388.6 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.005664, allocations: 192 / 388.6 MB, free: 8.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.005677, allocations: 8.375 kB / 388.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.005682, allocations: 7.938 kB / 388.6 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.005807, allocations: 147.8 kB / 388.8 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.005976, allocations: 197.2 kB / 389 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.006117, allocations: 146.5 kB / 389.1 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.006175, allocations: 68.83 kB / 389.2 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.006226, allocations: 35.92 kB / 389.2 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.006243, allocations: 38.5 kB / 389.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 7.12e-07/0.006244, allocations: 288 / 389.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009063/0.00715, allocations: 374 kB / 389.6 MB, free: 7.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.007176, allocations: 51.41 kB / 389.7 MB, free: 7.789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.007311, allocations: 219 kB / 389.9 MB, free: 7.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.007322, allocations: 25.7 kB / 389.9 MB, free: 7.535 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.007367, allocations: 116.1 kB / 390 MB, free: 7.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.007397, allocations: 27.75 kB / 390.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.007427, allocations: 25.7 kB / 390.1 MB, free: 7.359 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.007501, allocations: 326.8 kB / 390.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/0.007551, allocations: 59.97 kB / 390.5 MB, free: 6.973 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.666e-05/0.007598, allocations: 63.95 kB / 390.5 MB, free: 6.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.007707, allocations: 136.8 kB / 390.7 MB, free: 6.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007709, allocations: 0 / 390.7 MB, free: 6.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003818/0.008091, allocations: 234.8 kB / 390.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.008102, allocations: 8 kB / 390.9 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.008105, allocations: 0 / 390.9 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.00842, allocations: 76.77 kB / 391 MB, free: 6.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.88e-05/0.008459, allocations: 12.08 kB / 391 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.009562, allocations: 1.424 MB / 392.4 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.009594, allocations: 12.19 kB / 392.4 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.009601, allocations: 7.938 kB / 392.4 MB, free: 4.895 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 6.552e-05/0.009667, allocations: 125.8 kB / 392.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.009681, allocations: 15.91 kB / 392.6 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.01008, allocations: 263.7 kB / 392.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01009, allocations: 4 kB / 392.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01009, allocations: 3.938 kB / 392.8 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.01009, allocations: 0 / 392.8 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.0102, allocations: 193.2 kB / 393 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.0102, allocations: 0 / 393 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.01023, allocations: 19.94 kB / 393 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000546/0.01078, allocations: 80.75 kB / 393.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.01078, allocations: 0 / 393.1 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009305/0.01171, allocations: 1.42 MB / 394.5 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01172, allocations: 4.078 kB / 394.5 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.01208, allocations: 269.7 kB / 394.8 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.0121, allocations: 27.8 kB / 394.8 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.01211, allocations: 0 / 394.8 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.549e-05/0.01213, allocations: 0 / 394.8 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.01215, allocations: 11.97 kB / 394.8 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.01216, allocations: 8 kB / 394.9 MB, free: 2.289 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.448e-05/0.01224, allocations: 164.4 kB / 395 MB, free: 2.129 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01224, allocations: 0 / 395 MB, free: 2.129 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.01245, allocations: 79.8 kB / 395.1 MB, free: 2.051 MB / 314.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.01263, allocations: 159 kB / 395.2 MB, free: 1.887 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.01294, allocations: 274.5 kB / 395.5 MB, free: 1.605 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01295, allocations: 0 / 395.5 MB, free: 1.605 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.01311, allocations: 206.6 kB / 395.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.01328, allocations: 30.22 kB / 395.7 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.0149, allocations: 0.5962 MB / 396.3 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.521e-05/0.01497, allocations: 109.6 kB / 396.4 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.01499, allocations: 24.44 kB / 396.5 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01499, allocations: 0 / 396.5 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of Templates: time 0.003244/0.01824, allocations: 3.069 MB / 399.5 MB, free: 13.52 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.makefile [Timeout 660] (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & ./FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8889849511906505] Failed to read output from testmodel.py, exit status != 0: 0.02274882234632969 0.17912951900000001 0.025182432 Calling exit ...