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.001519/0.001519, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.003044/0.003044, allocations: 217.9 kB / 22.99 MB, free: 5.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.44/1.44, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.2244/0.2244, allocations: 46.89 MB / 359.4 MB, free: 4.922 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.002242/0.002242, allocations: 83.86 kB / 0.4941 GB, free: 9.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3259, allocations: 65.99 MB / 0.5586 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.0033/0.3292, allocations: 1.921 MB / 0.5604 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3302, allocations: 0.597 MB / 0.561 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.3303, allocations: 4 kB / 0.561 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.538e-05/0.3303, allocations: 19.78 kB / 0.561 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.3305, allocations: 39.7 kB / 0.5611 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3308, allocations: 83.77 kB / 0.5612 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.3311, allocations: 159.4 kB / 0.5613 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3312, allocations: 26.92 kB / 0.5613 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.3314, allocations: 71.78 kB / 0.5614 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3315, allocations: 67.67 kB / 0.5615 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.3315, allocations: 12 kB / 0.5615 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.7e-05/0.3316, allocations: 16 kB / 0.5615 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.563e-05/0.3316, allocations: 31.91 kB / 0.5615 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.3317, allocations: 63.72 kB / 0.5616 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.3319, allocations: 147.4 kB / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3319, allocations: 0 / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3319, allocations: 0 / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.332, allocations: 0 / 0.5617 GB, free: 1.922 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.0008676/0.3328, allocations: 450.9 kB / 0.5622 GB, free: 1.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3329, allocations: 12.03 kB / 0.5622 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.3329, allocations: 38.73 kB / 0.5622 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002993/0.3332, allocations: 48.75 kB / 0.5623 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.3334, allocations: 180.3 kB / 0.5624 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3334, allocations: 8.359 kB / 0.5624 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.3335, allocations: 12.38 kB / 0.5624 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.3338, allocations: 138.8 kB / 0.5626 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3338, allocations: 0 / 0.5626 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.3338, allocations: 4 kB / 0.5626 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3338, allocations: 4 kB / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.3342, allocations: 95.92 kB / 0.5627 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008983/0.3351, allocations: 459.3 kB / 0.5631 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.3354, allocations: 90.52 kB / 0.5632 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.3355, allocations: 44.92 kB / 0.5632 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.3356, allocations: 0 / 0.5632 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.3356, allocations: 34.56 kB / 0.5633 GB, free: 152 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3356, allocations: 7.875 kB / 0.5633 GB, free: 144 kB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001451/0.3371, allocations: 317.3 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.3371, allocations: 106.8 kB / 0.5637 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.3373, allocations: 153.5 kB / 0.5638 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3373, allocations: 25.7 kB / 0.5639 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.3374, allocations: 116.2 kB / 0.564 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.3375, allocations: 23.84 kB / 0.564 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.24e-05/0.3375, allocations: 25.7 kB / 0.564 GB, free: 15.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3377, allocations: 314.8 kB / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.3379, allocations: 63.94 kB / 0.5644 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.3382, allocations: 104.2 kB / 0.5645 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.3386, allocations: 134.5 kB / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3386, allocations: 0 / 0.5646 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000536/0.3391, allocations: 169.5 kB / 0.5648 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3392, allocations: 7.938 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3392, allocations: 4.062 kB / 0.5648 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3392, allocations: 4 kB / 0.5648 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.3397, allocations: 83.91 kB / 0.5649 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.3414, allocations: 1.508 MB / 0.5663 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3416, allocations: 28.19 kB / 0.5664 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.3416, allocations: 7.922 kB / 0.5664 GB, free: 12.73 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.0001262/0.3418, allocations: 121.8 kB / 0.5665 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.3418, allocations: 7.953 kB / 0.5665 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.3423, allocations: 166.4 kB / 0.5667 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3423, allocations: 0 / 0.5667 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.3423, allocations: 0 / 0.5667 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3423, allocations: 0 / 0.5667 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.3432, allocations: 474.2 kB / 0.5671 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3432, allocations: 0 / 0.5671 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.3433, allocations: 27.97 kB / 0.5671 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3433, allocations: 4 kB / 0.5671 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3433, allocations: 4 kB / 0.5671 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3433, allocations: 3.938 kB / 0.5671 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3433, allocations: 0 / 0.5671 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.3439, allocations: 259.3 kB / 0.5674 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.3439, allocations: 85.06 kB / 0.5675 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.344, allocations: 4 kB / 0.5675 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3442, allocations: 23.91 kB / 0.5675 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.3442, allocations: 7.984 kB / 0.5675 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-06/0.3442, allocations: 8 kB / 0.5675 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.123e-05/0.3443, allocations: 109.3 kB / 0.5676 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3443, allocations: 0 / 0.5676 GB, free: 11.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.3446, allocations: 32 kB / 0.5676 GB, free: 11.32 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.0009265/0.3455, allocations: 0.7787 MB / 0.5684 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008744/0.3464, allocations: 175.8 kB / 0.5686 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3464, allocations: 0 / 0.5686 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.3466, allocations: 60.27 kB / 0.5686 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3469, allocations: 19.88 kB / 0.5687 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.3506, allocations: 1.99 MB / 0.5706 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3509, allocations: 0.7002 MB / 0.5713 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.21e-05/0.351, allocations: 16.41 kB / 0.5713 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.3511, allocations: 39.42 kB / 0.5713 GB, free: 7.402 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3511, allocations: 0 / 0.5713 GB, free: 7.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.38, allocations: 3.179 MB / 0.5744 GB, free: 4.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.15, allocations: 7.188 kB / 0.5744 GB, free: 4.32 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: 14.885982314997818] Failed to read output from testmodel.py, exit status != 0: ['time', 'saturatingInductor.Psi', 'saturatingInductor.i'] 12.239920398016693 12.265183566 11.928608154 Calling exit ...