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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 110 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 186.7 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.02276/0.02276, allocations: 1.242 MB / 307.5 MB, free: 7.496 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00195/0.00195, allocations: 67.88 kB / 428.1 MB, free: 22.75 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1167, allocations: 52.46 MB / 480.5 MB, free: 2.203 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic): time 0.003386/0.1201, allocations: 1.562 MB / 482.1 MB, free: 0.6328 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002215/0.1223, allocations: 1.273 MB / 483.3 MB, free: 15.35 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.1224, allocations: 0 / 483.3 MB, free: 15.35 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007237/0.1231, allocations: 163.3 kB / 483.5 MB, free: 15.19 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0009409/0.1241, allocations: 290.6 kB / 483.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 6.782e-06/0.1241, allocations: 0 / 483.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1242, allocations: 111.4 kB / 483.9 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 7.511e-05/0.1243, allocations: 5.641 kB / 483.9 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1244, allocations: 47.77 kB / 484 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1246, allocations: 79.67 kB / 484 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1247, allocations: 4 kB / 484 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007846/0.1254, allocations: 0.4949 MB / 484.5 MB, free: 14.16 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.1255, allocations: 39.83 kB / 484.6 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.1256, allocations: 51.61 kB / 484.6 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.1261, allocations: 342.8 kB / 485 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1261, allocations: 0 / 485 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.383e-06/0.1261, allocations: 0 / 485 MB, free: 13.74 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.933e-06/0.1262, allocations: 0 / 485 MB, free: 13.74 MB / 350.1 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.0008237/0.127, allocations: 428.9 kB / 485.4 MB, free: 13.29 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.127, allocations: 12.03 kB / 485.4 MB, free: 13.28 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/0.1271, allocations: 16.84 kB / 485.4 MB, free: 13.26 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1274, allocations: 178.2 kB / 485.6 MB, free: 13.06 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1274, allocations: 384 / 485.6 MB, free: 13.06 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1274, allocations: 8.375 kB / 485.6 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.1276, allocations: 102 kB / 485.7 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1276, allocations: 0 / 485.7 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1276, allocations: 4 kB / 485.7 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1276, allocations: 4 kB / 485.7 MB, free: 12.94 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1278, allocations: 151.8 kB / 485.8 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.1281, allocations: 228.6 kB / 486.1 MB, free: 12.53 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.1284, allocations: 146.5 kB / 486.2 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.455e-05/0.1285, allocations: 68.83 kB / 486.3 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.598e-05/0.1286, allocations: 39.89 kB / 486.3 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.1286, allocations: 50.72 kB / 486.4 MB, free: 12.21 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.1286, allocations: 0 / 486.4 MB, free: 12.21 MB / 350.1 MB
Notification: Performance of matching and sorting (n=9): time 0.001895/0.1305, allocations: 362.4 kB / 486.7 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.1306, allocations: 51.41 kB / 486.8 MB, free: 11.78 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.1308, allocations: 219.1 kB / 487 MB, free: 11.56 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1308, allocations: 29.64 kB / 487 MB, free: 11.52 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.1309, allocations: 120.1 kB / 487.1 MB, free: 11.4 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.131, allocations: 27.73 kB / 487.2 MB, free: 11.38 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.131, allocations: 21.72 kB / 487.2 MB, free: 11.35 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001569/0.1312, allocations: 330.8 kB / 487.5 MB, free: 11.02 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.1313, allocations: 63.97 kB / 487.6 MB, free: 10.95 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.854e-05/0.1313, allocations: 55.97 kB / 487.6 MB, free: 10.9 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1315, allocations: 136.7 kB / 487.7 MB, free: 10.76 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1315, allocations: 0 / 487.7 MB, free: 10.76 MB / 350.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008326/0.1324, allocations: 238.2 kB / 488 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1324, allocations: 4 kB / 488 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1324, allocations: 4 kB / 488 MB, free: 10.51 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000758/0.1332, allocations: 76.77 kB / 488.1 MB, free: 10.43 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.1332, allocations: 12 kB / 488.1 MB, free: 10.42 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.1355, allocations: 1.443 MB / 489.5 MB, free: 8.863 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.1356, allocations: 12.27 kB / 489.5 MB, free: 8.852 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1356, allocations: 4 kB / 489.5 MB, free: 8.848 MB / 350.1 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 0.0001333/0.1358, allocations: 121.8 kB / 489.7 MB, free: 8.719 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.1358, allocations: 23.92 kB / 489.7 MB, free: 8.695 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009027/0.1367, allocations: 267.7 kB / 489.9 MB, free: 8.422 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1367, allocations: 3.938 kB / 489.9 MB, free: 8.418 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.1367, allocations: 0 / 489.9 MB, free: 8.418 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1367, allocations: 7.922 kB / 489.9 MB, free: 8.41 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.137, allocations: 232.6 kB / 490.2 MB, free: 8.141 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.137, allocations: 7.938 kB / 490.2 MB, free: 8.133 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.137, allocations: 12 kB / 490.2 MB, free: 8.121 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006811/0.1377, allocations: 76.75 kB / 490.3 MB, free: 8.043 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1377, allocations: 0 / 490.3 MB, free: 8.043 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.1398, allocations: 1.444 MB / 491.7 MB, free: 6.484 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1398, allocations: 4.031 kB / 491.7 MB, free: 6.48 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.1406, allocations: 265.7 kB / 492 MB, free: 6.199 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1406, allocations: 16.09 kB / 492 MB, free: 6.184 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1406, allocations: 0 / 492 MB, free: 6.184 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.1407, allocations: 11.88 kB / 492 MB, free: 6.172 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.1408, allocations: 15.97 kB / 492 MB, free: 6.156 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1408, allocations: 4 kB / 492 MB, free: 6.152 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001639/0.1409, allocations: 160.4 kB / 492.2 MB, free: 5.996 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.1409, allocations: 0 / 492.2 MB, free: 5.996 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004266/0.1414, allocations: 87.73 kB / 492.3 MB, free: 5.91 MB / 350.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 (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.0003071/0.1417, allocations: 158.9 kB / 492.4 MB, free: 5.742 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006858/0.1423, allocations: 270.5 kB / 492.7 MB, free: 5.465 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1423, allocations: 4 kB / 492.7 MB, free: 5.461 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.1428, allocations: 202.6 kB / 492.9 MB, free: 5.25 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.143, allocations: 28.55 kB / 492.9 MB, free: 5.227 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.1469, allocations: 0.5815 MB / 493.5 MB, free: 4.621 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.1473, allocations: 0.7162 MB / 494.2 MB, free: 3.879 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.393e-05/0.1473, allocations: 29.22 kB / 494.2 MB, free: 3.852 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.1474, allocations: 11.44 kB / 494.3 MB, free: 3.84 MB / 350.1 MB
Notification: Performance of SimCode: time 1.283e-06/0.1474, allocations: 0 / 494.3 MB, free: 3.84 MB / 350.1 MB
Notification: Performance of Templates: time 0.00794/0.1553, allocations: 3.235 MB / 497.5 MB, free: 0.6094 MB / 350.1 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.726886745542288]
Failed to read output from testmodel.py, exit status != 0:
0.16306553781032562 0.17907324500000002 0.04973226
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff1ffb957b0>