Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 116.9 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001958/0.001958, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 55.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1125, allocations: 53.38 MB / 427.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005436/0.118, allocations: 3.464 MB / 430.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003123/0.1211, allocations: 1.667 MB / 432.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.1213, allocations: 4 kB / 432.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003185/0.1245, allocations: 2.663 MB / 434.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006785/0.1252, allocations: 226.5 kB / 435.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008463/0.126, allocations: 313.8 kB / 435.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.1281, allocations: 1.821 MB / 437.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.1283, allocations: 99.91 kB / 437.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.1288, allocations: 325 kB / 437.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.1292, allocations: 362.7 kB / 438 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.1293, allocations: 48 kB / 438 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.1295, allocations: 87.98 kB / 438.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007052/0.1302, allocations: 0.853 MB / 439 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008174/0.131, allocations: 0.9385 MB / 439.9 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.1338, allocations: 2.657 MB / 442.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1338, allocations: 0 / 442.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1338, allocations: 0 / 442.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.1338, allocations: 4 kB / 442.6 MB, free: 5.055 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004409/0.1382, allocations: 2.911 MB / 445.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1383, allocations: 8.031 kB / 445.5 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.856e-05/0.1383, allocations: 9.188 kB / 445.5 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.711e-05/0.1384, allocations: 70.72 kB / 445.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005666/0.139, allocations: 314.9 kB / 445.9 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2013/0.3403, allocations: 1.86 MB / 447.7 MB, free: 22.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.3404, allocations: 59.42 kB / 447.8 MB, free: 22.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.3407, allocations: 53.36 kB / 447.8 MB, free: 22.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.3416, allocations: 393.9 kB / 448.2 MB, free: 22.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3416, allocations: 0.875 kB / 448.2 MB, free: 22.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.741e-05/0.3417, allocations: 15.16 kB / 448.2 MB, free: 22.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3417, allocations: 8.719 kB / 448.2 MB, free: 22.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000785/0.3425, allocations: 335.9 kB / 448.6 MB, free: 22.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005147/0.3476, allocations: 2.903 MB / 451.5 MB, free: 21.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.3483, allocations: 298.5 kB / 451.8 MB, free: 21.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.3487, allocations: 154.1 kB / 451.9 MB, free: 21.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.315e-05/0.3487, allocations: 4.469 kB / 451.9 MB, free: 21.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3488, allocations: 43.34 kB / 452 MB, free: 21.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.304e-06/0.3488, allocations: 3.844 kB / 452 MB, free: 21.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005386/0.3542, allocations: 2.475 MB / 454.4 MB, free: 20.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3542, allocations: 83.84 kB / 454.5 MB, free: 20.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007323/0.3615, allocations: 5.452 MB / 460 MB, free: 18.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.368e-05/0.3616, allocations: 35.83 kB / 460 MB, free: 18.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008875/0.3625, allocations: 1.188 MB / 461.2 MB, free: 17.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.3626, allocations: 172.9 kB / 461.4 MB, free: 17.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3628, allocations: 88.73 kB / 461.5 MB, free: 17.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.3628, allocations: 329.3 kB / 461.8 MB, free: 17.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.3632, allocations: 141.5 kB / 461.9 MB, free: 16.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.3635, allocations: 222.6 kB / 462.1 MB, free: 16.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006775/0.3642, allocations: 379.8 kB / 462.5 MB, free: 16.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3642, allocations: 1.188 kB / 462.5 MB, free: 16.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001365/0.3656, allocations: 0.6994 MB / 463.2 MB, free: 16.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3656, allocations: 11.06 kB / 463.2 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3656, allocations: 3.625 kB / 463.2 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.3656, allocations: 3.938 kB / 463.2 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.3662, allocations: 124.7 kB / 463.3 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.3662, allocations: 4.938 kB / 463.4 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/0.3667, allocations: 17.88 kB / 463.4 MB, free: 16.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.3668, allocations: 21.48 kB / 463.4 MB, free: 16.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.3678, allocations: 0.9189 MB / 464.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.3681, allocations: 287.2 kB / 464.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.3696, allocations: 0.8003 MB / 465.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3696, allocations: 5.031 kB / 465.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3696, allocations: 2.344 kB / 465.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3696, allocations: 3.734 kB / 465.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.3715, allocations: 1.473 MB / 466.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.3715, allocations: 1.781 kB / 466.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.3719, allocations: 98.33 kB / 467 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003715/0.3723, allocations: 94.09 kB / 467.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.3723, allocations: 16.3 kB / 467.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004469/0.3728, allocations: 0.6326 MB / 467.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3728, allocations: 0 / 467.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.3744, allocations: 1.09 MB / 468.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/0.3751, allocations: 0.5044 MB / 469.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.3753, allocations: 11.19 kB / 469.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/0.3758, allocations: 16.23 kB / 469.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.3758, allocations: 35.44 kB / 469.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.3759, allocations: 16.64 kB / 469.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004961/0.3808, allocations: 3.985 MB / 473.4 MB, free: 12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3808, allocations: 0 / 473.4 MB, free: 12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001084/0.3819, allocations: 213.6 kB / 473.6 MB, free: 11.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003355/0.3853, allocations: 1.936 MB / 475.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.3861, allocations: 360.2 kB / 475.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3861, allocations: 5.125 kB / 475.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.3866, allocations: 199.9 kB / 476.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.3878, allocations: 192.8 kB / 476.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03591/0.4237, allocations: 19.43 MB / 495.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/0.4256, allocations: 1.821 MB / 497.5 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006495/0.4263, allocations: 281.4 kB / 497.8 MB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/0.4276, allocations: 0.9367 MB / 498.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4276, allocations: 3.938 kB / 498.7 MB, free: 6.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08249/0.5101, allocations: 39.03 MB / 0.5251 GB, free: 15.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.65/18.16, allocations: 7.484 kB / 0.5252 GB, free: 15.94 MB / 430.1 MB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.797057521005627] Failed to read output from testmodel.py, exit status != 0: ['time', 'core.B', 'core.Hstat', 'core.MagRel', 'winding1.i', 'winding2.i'] 18.387540262949187 18.409909806 18.271741766 Calling exit ...