Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001615/0.001615, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002108/0.002108, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.471/1.471, allocations: 230.5 MB / 258.2 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2383/0.2383, allocations: 46.94 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.00238/0.00238, allocations: 87.86 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3687, allocations: 66.07 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003291/0.372, allocations: 1.928 MB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.373, allocations: 0.6048 MB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.3731, allocations: 3.938 kB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.012e-05/0.3732, allocations: 19.8 kB / 0.564 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.3734, allocations: 39.69 kB / 0.564 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.3736, allocations: 83.83 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3738, allocations: 155.4 kB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3739, allocations: 27.27 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.3742, allocations: 79.75 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3743, allocations: 59.7 kB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.3743, allocations: 12 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.132e-05/0.3744, allocations: 16 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.3744, allocations: 31.91 kB / 0.5645 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.284e-05/0.3745, allocations: 63.7 kB / 0.5645 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.3747, allocations: 147.4 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3747, allocations: 0 / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3747, allocations: 0 / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3747, allocations: 0 / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008057/0.3755, allocations: 373.8 kB / 0.565 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3755, allocations: 12.03 kB / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/0.3756, allocations: 42.67 kB / 0.5651 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.3759, allocations: 48.81 kB / 0.5651 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.376, allocations: 120.6 kB / 0.5652 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.3761, allocations: 8.375 kB / 0.5652 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.3761, allocations: 12.36 kB / 0.5653 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.3764, allocations: 140.3 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3764, allocations: 0 / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3764, allocations: 4 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3764, allocations: 0 / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.3768, allocations: 95.92 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.3776, allocations: 430.4 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.3779, allocations: 86.52 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.3781, allocations: 40.92 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.3781, allocations: 4 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3781, allocations: 38.5 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3781, allocations: 0 / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001377/0.3795, allocations: 321.1 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.3796, allocations: 114.6 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3797, allocations: 149.6 kB / 0.5666 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3798, allocations: 29.7 kB / 0.5666 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.3798, allocations: 108.2 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.3799, allocations: 27.78 kB / 0.5668 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.3799, allocations: 29.7 kB / 0.5668 GB, free: 14.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3801, allocations: 318.8 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.3803, allocations: 59.95 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.3805, allocations: 92.23 kB / 0.5673 GB, free: 14.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.381, allocations: 142.4 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.381, allocations: 4 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004952/0.3815, allocations: 169.5 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3815, allocations: 7.938 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3815, allocations: 8.062 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3815, allocations: 0 / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.3821, allocations: 83.91 kB / 0.5676 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.3836, allocations: 1.4 MB / 0.569 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.3839, allocations: 24.2 kB / 0.569 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.3839, allocations: 12 kB / 0.5691 GB, free: 12.17 MB / 414.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 (9): * Single equations (assignments): 8 * 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.0001198/0.384, allocations: 118.7 kB / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.384, allocations: 7.953 kB / 0.5692 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/0.3845, allocations: 166.3 kB / 0.5693 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3845, allocations: 7.938 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.3845, allocations: 0 / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3845, allocations: 3.984 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008147/0.3854, allocations: 429.7 kB / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3854, allocations: 3.984 kB / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.3855, allocations: 23.98 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3855, allocations: 4 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3855, allocations: 3.984 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3855, allocations: 7.875 kB / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3855, allocations: 3.984 kB / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.3861, allocations: 255.4 kB / 0.57 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.3861, allocations: 15.88 kB / 0.5701 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3861, allocations: 4 kB / 0.5701 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3863, allocations: 27.91 kB / 0.5701 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.3864, allocations: 4.172 kB / 0.5701 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3864, allocations: 8 kB / 0.5701 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.775e-05/0.3865, allocations: 117.6 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3865, allocations: 0 / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3867, allocations: 28 kB / 0.5702 GB, free: 10.88 MB / 414.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 (7): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008131/0.3875, allocations: 0.7748 MB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.3884, allocations: 175.8 kB / 0.5712 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3884, allocations: 0 / 0.5712 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.3886, allocations: 64.02 kB / 0.5712 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.389, allocations: 19.31 kB / 0.5712 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.3926, allocations: 1.983 MB / 0.5732 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3929, allocations: 0.7008 MB / 0.5739 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.207e-05/0.393, allocations: 12.42 kB / 0.5739 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.3931, allocations: 35.42 kB / 0.5739 GB, free: 6.973 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3931, allocations: 0 / 0.5739 GB, free: 6.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.4231, allocations: 3.234 MB / 0.5771 GB, free: 3.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.07, allocations: 12.98 kB / 0.5771 GB, free: 3.832 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.103009944781661] Failed to read output from testmodel.py, exit status != 0: ['time', 'saturatingInductor.Psi', 'saturatingInductor.i'] 12.166720665991306 12.182571394 11.804775737 Calling exit ...