Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001363/0.001363, allocations: 105.1 kB / 21.22 MB, free: 0.5156 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.001605/0.001605, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.538/1.538, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",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.001993/0.001993, allocations: 72.7 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2936, allocations: 53.37 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007582/0.3012, allocations: 5.14 MB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.3052, allocations: 2.187 MB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.3057, allocations: 16 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003535/0.3092, allocations: 1.423 MB / 440.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.3108, allocations: 417.4 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.3134, allocations: 1.23 MB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.3148, allocations: 0.7394 MB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.3158, allocations: 0.58 MB / 443.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.3163, allocations: 346.8 kB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005455/0.3169, allocations: 434.3 kB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.317, allocations: 68 kB / 444.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009518/0.3179, allocations: 403.7 kB / 444.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.3181, allocations: 171.4 kB / 445.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.3184, allocations: 390.1 kB / 445.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.3202, allocations: 1.218 MB / 446.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3202, allocations: 0 / 446.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3202, allocations: 0 / 446.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.3202, allocations: 0 / 446.7 MB, free: 8.105 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004549/0.3248, allocations: 1.41 MB / 448.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.3248, allocations: 11.97 kB / 448.1 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.325, allocations: 131.4 kB / 448.2 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.3276, allocations: 364.1 kB / 448.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3278, allocations: 205.6 kB / 448.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/0.3279, allocations: 62.38 kB / 448.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.3281, allocations: 88.12 kB / 448.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.3298, allocations: 0.868 MB / 449.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.3299, allocations: 3.953 kB / 449.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/0.3299, allocations: 36 kB / 449.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.33, allocations: 20 kB / 449.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.3318, allocations: 0.7964 MB / 450.6 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004899/0.3367, allocations: 2.779 MB / 453.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.3378, allocations: 0.5137 MB / 453.9 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.3384, allocations: 218.2 kB / 454.1 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.3385, allocations: 28.41 kB / 454.2 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.3385, allocations: 43.05 kB / 454.2 MB, free: 292 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.936e-06/0.3385, allocations: 4 kB / 454.2 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007467/0.346, allocations: 2.163 MB / 456.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.3461, allocations: 85.61 kB / 456.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.3465, allocations: 324.4 kB / 456.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.3465, allocations: 41.64 kB / 456.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.3469, allocations: 363.9 kB / 457.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.3471, allocations: 234 kB / 457.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.3473, allocations: 138.6 kB / 457.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.3475, allocations: 354.7 kB / 457.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007383/0.3483, allocations: 273.8 kB / 458.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009629/0.3492, allocations: 0.5004 MB / 458.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/0.351, allocations: 0.8049 MB / 459.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.351, allocations: 4 kB / 459.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002218/0.3532, allocations: 0.901 MB / 460.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.3532, allocations: 15.94 kB / 460.4 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.3533, allocations: 4 kB / 460.4 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.3535, allocations: 73.73 kB / 460.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/0.3545, allocations: 203.7 kB / 460.6 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.3569, allocations: 2.657 MB / 463.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/0.3576, allocations: 64.02 kB / 463.4 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.3577, allocations: 39.98 kB / 463.4 MB, free: 6.531 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0003453/0.358, allocations: 213.6 kB / 463.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3581, allocations: 47.66 kB / 463.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.3601, allocations: 0.7258 MB / 464.4 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.3601, allocations: 11.98 kB / 464.4 MB, free: 5.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3601, allocations: 4 kB / 464.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3601, allocations: 3.938 kB / 464.4 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.3631, allocations: 1.383 MB / 465.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.3631, allocations: 0 / 465.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/0.3637, allocations: 135.8 kB / 465.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.364, allocations: 57.67 kB / 466 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.364, allocations: 19.98 kB / 466 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.3663, allocations: 2.642 MB / 468.6 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.3663, allocations: 8 kB / 468.6 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.369, allocations: 1.078 MB / 469.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.3692, allocations: 87.67 kB / 469.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.3693, allocations: 16 kB / 469.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.3698, allocations: 47.94 kB / 469.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.3699, allocations: 48.41 kB / 469.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.37, allocations: 16 kB / 469.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002882/0.3703, allocations: 223.1 kB / 470.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3703, allocations: 0 / 470.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008219/0.3711, allocations: 180 kB / 470.3 MB, free: 15.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_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 (58): * Single equations (assignments): 56 * 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.003089/0.3742, allocations: 1.678 MB / 472 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.3763, allocations: 0.8846 MB / 472.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3763, allocations: 0 / 472.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.3773, allocations: 0.5195 MB / 473.4 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.3778, allocations: 45.09 kB / 473.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009609/0.3874, allocations: 5.154 MB / 478.6 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.388, allocations: 0.8849 MB / 479.5 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.3884, allocations: 88.52 kB / 479.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.3887, allocations: 223.3 kB / 479.8 MB, free: 5.402 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.3887, allocations: 0 / 479.8 MB, free: 5.402 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0496/0.4384, allocations: 11.98 MB / 491.8 MB, free: 9.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.63, allocations: 0 / 491.8 MB, free: 9.574 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.17063596798107] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi.re', 'magFluxSensor.Phi.im', 'voltageSensor.v.re', 'voltageSensor.v.im'] 13.718806899152696 13.744982529 13.420550982 Calling exit ...