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.001241/0.001241, allocations: 122.1 kB / 18.46 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.00132/0.00132, allocations: 215.3 kB / 21.41 MB, free: 1.617 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.42/1.42, allocations: 227.7 MB / 251.9 MB, free: 15.84 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.003005/0.003005, allocations: 75.81 kB / 365.2 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1162, allocations: 50.54 MB / 415.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003758/0.12, allocations: 2.053 MB / 417.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1214, allocations: 0.6544 MB / 418.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1216, allocations: 4 kB / 418.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.169e-05/0.1217, allocations: 19.78 kB / 418.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1219, allocations: 39.62 kB / 418.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.1223, allocations: 99.75 kB / 418.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1226, allocations: 191.2 kB / 418.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1228, allocations: 57.52 kB / 418.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.123, allocations: 79.7 kB / 419 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1232, allocations: 79.62 kB / 419.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.1232, allocations: 16 kB / 419.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.782e-05/0.1233, allocations: 27.98 kB / 419.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.1234, allocations: 31.91 kB / 419.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.1235, allocations: 79.59 kB / 419.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.1237, allocations: 179.2 kB / 419.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1237, allocations: 4 kB / 419.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1237, allocations: 4 kB / 419.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1238, allocations: 3.938 kB / 419.4 MB, free: 9.953 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.000849/0.1246, allocations: 474.7 kB / 419.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1247, allocations: 8.031 kB / 419.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/0.1247, allocations: 50.73 kB / 419.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.1251, allocations: 48.81 kB / 420 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1255, allocations: 220.1 kB / 420.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1255, allocations: 4.375 kB / 420.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1255, allocations: 12.38 kB / 420.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1259, allocations: 160.2 kB / 420.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1259, allocations: 0 / 420.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1259, allocations: 4 kB / 420.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1259, allocations: 4 kB / 420.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.1262, allocations: 103.9 kB / 420.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.1272, allocations: 0.4994 MB / 421 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.1275, allocations: 106.5 kB / 421.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.1278, allocations: 68.97 kB / 421.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1278, allocations: 0 / 421.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.1278, allocations: 42.5 kB / 421.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1278, allocations: 4 kB / 421.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004751/0.1283, allocations: 141.5 kB / 421.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/0.1284, allocations: 106.8 kB / 421.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1286, allocations: 166.2 kB / 421.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1286, allocations: 29.7 kB / 421.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.1287, allocations: 115.9 kB / 421.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.1287, allocations: 31.73 kB / 421.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.1288, allocations: 33.7 kB / 421.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.129, allocations: 318.8 kB / 422.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1291, allocations: 43.97 kB / 422.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.1293, allocations: 80.2 kB / 422.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1296, allocations: 102.5 kB / 422.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1296, allocations: 0 / 422.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003651/0.1299, allocations: 149.8 kB / 422.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.13, allocations: 11.98 kB / 422.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.13, allocations: 0 / 422.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.13, allocations: 0 / 422.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.1306, allocations: 87.89 kB / 422.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.1322, allocations: 1.496 MB / 424.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1324, allocations: 31.97 kB / 424.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1325, allocations: 7.984 kB / 424.1 MB, free: 4.812 MB / 350.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.0001329/0.1326, allocations: 117.8 kB / 424.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.1327, allocations: 11.95 kB / 424.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.1331, allocations: 159.1 kB / 424.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1331, allocations: 3.938 kB / 424.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.1332, allocations: 0 / 424.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1332, allocations: 0 / 424.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008187/0.134, allocations: 468 kB / 424.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.134, allocations: 0 / 424.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1342, allocations: 23.97 kB / 424.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000225/0.1344, allocations: 32.84 kB / 424.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1344, allocations: 3.984 kB / 424.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.1357, allocations: 1.391 MB / 426.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1357, allocations: 4.031 kB / 426.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.1363, allocations: 297.1 kB / 426.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.1364, allocations: 92.97 kB / 426.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1364, allocations: 11.94 kB / 426.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1366, allocations: 11.98 kB / 426.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1366, allocations: 8.047 kB / 426.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.1366, allocations: 8 kB / 426.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1368, allocations: 123.2 kB / 426.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1368, allocations: 3.938 kB / 426.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1371, allocations: 39.89 kB / 426.9 MB, free: 1.77 MB / 350.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.0009307/0.138, allocations: 0.8311 MB / 427.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007013/0.1387, allocations: 143.9 kB / 427.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1388, allocations: 0 / 427.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.1391, allocations: 166.7 kB / 428 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1394, allocations: 10.44 kB / 428 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.1428, allocations: 2.107 MB / 430.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1431, allocations: 0.7158 MB / 430.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.829e-05/0.1432, allocations: 16.53 kB / 430.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.1433, allocations: 39.42 kB / 430.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1433, allocations: 0 / 430.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.1734, allocations: 3.399 MB / 434.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.47, allocations: 7.797 kB / 434.3 MB, free: 10.36 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv --start-time 0 --stop-time 6.2832 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0100051 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: 14.05711529601831] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inductance1.i', 'SaturatingInductance1.Psi'] 11.56327726598829 11.760026637 11.633607356 Calling exit ...