Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001531/0.001531, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001674/0.001674, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.4 MB / 254.7 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 79.8 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1073, allocations: 53.31 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00344/0.1107, allocations: 2.069 MB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1119, allocations: 0.6623 MB / 429.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.112, allocations: 4 kB / 429.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.454e-05/0.112, allocations: 19.78 kB / 429.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1122, allocations: 47.58 kB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.1126, allocations: 103.8 kB / 429.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.1128, allocations: 187.2 kB / 430 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1129, allocations: 29.55 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1131, allocations: 91.62 kB / 430.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1133, allocations: 83.67 kB / 430.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.1133, allocations: 16 kB / 430.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.1134, allocations: 20 kB / 430.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.1134, allocations: 35.84 kB / 430.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.1135, allocations: 75.66 kB / 430.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1137, allocations: 183.2 kB / 430.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1137, allocations: 7.938 kB / 430.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1137, allocations: 0 / 430.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1137, allocations: 4 kB / 430.5 MB, free: 1.207 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0008158/0.1146, allocations: 478.7 kB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1146, allocations: 8.031 kB / 431 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.1147, allocations: 38.75 kB / 431 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/0.115, allocations: 52.8 kB / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1153, allocations: 224 kB / 431.3 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1153, allocations: 12.38 kB / 431.3 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1154, allocations: 12.38 kB / 431.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.1157, allocations: 152.1 kB / 431.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1157, allocations: 0 / 431.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1157, allocations: 8 kB / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1157, allocations: 0 / 431.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.116, allocations: 95.94 kB / 431.6 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009191/0.1169, allocations: 0.5072 MB / 432.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.1172, allocations: 102.5 kB / 432.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.1174, allocations: 72.81 kB / 432.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1174, allocations: 0 / 432.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1174, allocations: 34.5 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.1174, allocations: 0 / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004593/0.1179, allocations: 145.6 kB / 432.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.118, allocations: 106.8 kB / 432.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1181, allocations: 154.2 kB / 432.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1181, allocations: 29.7 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.1182, allocations: 124 kB / 432.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1183, allocations: 35.72 kB / 432.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.1183, allocations: 29.7 kB / 432.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1185, allocations: 326.8 kB / 433.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1186, allocations: 39.98 kB / 433.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1188, allocations: 88.12 kB / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.119, allocations: 98.52 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.119, allocations: 0 / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003393/0.1193, allocations: 145.5 kB / 433.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1194, allocations: 8.031 kB / 433.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1194, allocations: 4 kB / 433.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1194, allocations: 0 / 433.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.12, allocations: 83.91 kB / 433.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.1218, allocations: 1.489 MB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.1219, allocations: 39.91 kB / 435.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.122, allocations: 4 kB / 435.2 MB, free: 12.08 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.1221, allocations: 122.7 kB / 435.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.1222, allocations: 15.94 kB / 435.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.1226, allocations: 159.2 kB / 435.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1226, allocations: 7.938 kB / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1226, allocations: 3.938 kB / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1226, allocations: 0 / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.1235, allocations: 460 kB / 436 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1235, allocations: 0 / 436 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1236, allocations: 23.98 kB / 436 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.1238, allocations: 32.86 kB / 436 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1239, allocations: 4 kB / 436 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.1251, allocations: 1.391 MB / 437.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1251, allocations: 0 / 437.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.1257, allocations: 301.1 kB / 437.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.1257, allocations: 93.02 kB / 437.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.1258, allocations: 3.938 kB / 437.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.1259, allocations: 20.05 kB / 437.8 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.126, allocations: 8 kB / 437.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.126, allocations: 0 / 437.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1261, allocations: 123.2 kB / 437.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1261, allocations: 0 / 437.9 MB, free: 9.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.1264, allocations: 39.95 kB / 438 MB, free: 9.043 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.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 (7): * Single equations (assignments): 6 * 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.001072/0.1275, allocations: 0.8389 MB / 438.8 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007329/0.1282, allocations: 139.8 kB / 439 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1283, allocations: 0 / 439 MB, free: 8.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.1286, allocations: 166.7 kB / 439.1 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1288, allocations: 8 kB / 439.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.1322, allocations: 2.113 MB / 441.2 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1326, allocations: 0.7119 MB / 442 MB, free: 4.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.1326, allocations: 12.55 kB / 442 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.1327, allocations: 39.42 kB / 442 MB, free: 4.852 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1327, allocations: 0 / 442 MB, free: 4.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.1647, allocations: 3.407 MB / 445.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.49, allocations: 27.66 kB / 445.4 MB, free: 1.605 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor_fmu --startTime=0 --stopTime=6.2832 --stepSize=0.0100051 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.936106530949473] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inductance1.i', 'SaturatingInductance1.Psi'] 11.582042281981558 11.763027915 11.647051505 Calling exit ...