Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001281/0.001281, 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.001465/0.001465, 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.475/1.475, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.23/0.23, allocations: 46.94 MB / 361.6 MB, free: 4.211 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.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents",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.002346/0.002346, allocations: 83.88 kB / 0.497 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3349, allocations: 66.06 MB / 0.5615 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.00411/0.3391, allocations: 2.523 MB / 0.564 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.341, allocations: 1.121 MB / 0.565 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3411, allocations: 4 kB / 0.565 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.3424, allocations: 0.5018 MB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.3427, allocations: 107.2 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000962/0.3437, allocations: 490.1 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.344, allocations: 231 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000464/0.3445, allocations: 220.5 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.3447, allocations: 111.6 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.3449, allocations: 123.5 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.3449, allocations: 24 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.3452, allocations: 151.9 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.3453, allocations: 51.84 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.3454, allocations: 111.4 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005671/0.346, allocations: 410.5 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.346, allocations: 0 / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.346, allocations: 0 / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.346, allocations: 0 / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001296/0.3473, allocations: 0.5521 MB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.3473, allocations: 12.02 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.941e-05/0.3474, allocations: 58.73 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/0.3477, allocations: 48.77 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3479, allocations: 134.2 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.3479, allocations: 20.88 kB / 0.5683 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.3479, allocations: 28.38 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.3486, allocations: 290.7 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3486, allocations: 3.984 kB / 0.5686 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.3486, allocations: 15.94 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3486, allocations: 4 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.3492, allocations: 233.5 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.3508, allocations: 0.9377 MB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.3513, allocations: 203.6 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.3516, allocations: 125.7 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.3518, allocations: 27.91 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.3518, allocations: 34.56 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.3518, allocations: 0 / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001174/0.353, allocations: 351.2 kB / 0.5705 GB, free: 10.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.353, allocations: 77.11 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3532, allocations: 148.3 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3532, allocations: 25.7 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3533, allocations: 148.4 kB / 0.5708 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.3533, allocations: 71.39 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.3534, allocations: 41.7 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3536, allocations: 318.8 kB / 0.5712 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.3538, allocations: 75.94 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.354, allocations: 118 kB / 0.5714 GB, free: 9.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.3545, allocations: 205.9 kB / 0.5716 GB, free: 9.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3545, allocations: 3.938 kB / 0.5716 GB, free: 9.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006567/0.3552, allocations: 282.9 kB / 0.5719 GB, free: 9.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3552, allocations: 8 kB / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3552, allocations: 0 / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000207/0.3554, allocations: 49.69 kB / 0.572 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.3556, allocations: 40.16 kB / 0.572 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.3579, allocations: 2.633 MB / 0.5746 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.3581, allocations: 31.83 kB / 0.5746 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.3581, allocations: 12 kB / 0.5746 GB, free: 6.355 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.3582, allocations: 141.9 kB / 0.5747 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.3583, allocations: 11.95 kB / 0.5748 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.359, allocations: 268.1 kB / 0.575 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.359, allocations: 4 kB / 0.575 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.359, allocations: 0 / 0.575 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.359, allocations: 4 kB / 0.575 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.3602, allocations: 0.6205 MB / 0.5756 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3602, allocations: 4 kB / 0.5756 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3604, allocations: 39.91 kB / 0.5757 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.3605, allocations: 53.62 kB / 0.5757 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3605, allocations: 8.062 kB / 0.5757 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.3628, allocations: 2.634 MB / 0.5783 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3628, allocations: 0 / 0.5783 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.3637, allocations: 0.5243 MB / 0.5788 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.3638, allocations: 11.91 kB / 0.5788 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.3638, allocations: 4 kB / 0.5788 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.364, allocations: 15.92 kB / 0.5788 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.3641, allocations: 27.89 kB / 0.5789 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3641, allocations: 4 kB / 0.5789 GB, free: 1.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.77e-05/0.3642, allocations: 109.7 kB / 0.579 GB, free: 1.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3642, allocations: 4 kB / 0.579 GB, free: 1.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004351/0.3646, allocations: 75.84 kB / 0.5791 GB, free: 1.461 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.366, allocations: 1.07 MB / 0.5801 GB, free: 360 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.3668, allocations: 413.4 kB / 0.5805 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3668, allocations: 4 kB / 0.5805 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.3672, allocations: 329.1 kB / 0.5808 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3676, allocations: 15.98 kB / 0.5808 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.3711, allocations: 2.362 MB / 0.5831 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.3715, allocations: 0.7361 MB / 0.5838 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.731e-05/0.3716, allocations: 21.41 kB / 0.5839 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.3717, allocations: 55.42 kB / 0.5839 GB, free: 12.22 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3717, allocations: 0 / 0.5839 GB, free: 12.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.4105, allocations: 4.541 MB / 0.5884 GB, free: 7.766 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.52, allocations: 10.41 kB / 0.5884 GB, free: 7.762 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.551985691767186] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.abs_V_m', 'reluctance.abs_Phi', 'permeance.abs_V_m', 'permeance.abs_Phi', 'magFluxSource.gamma'] 10.605789577122778 10.635333153 10.283977718 Calling exit ...