Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.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.001773/0.001773, allocations: 105.1 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.002203/0.002203, allocations: 213.9 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.486/1.486, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2299/0.2299, allocations: 46.93 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.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_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.00239/0.00239, allocations: 80.11 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3303, allocations: 66.07 MB / 0.5615 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003283/0.3336, allocations: 1.748 MB / 0.5632 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001871/0.3338, allocations: 91.64 kB / 0.5633 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.262e-05/0.3338, allocations: 4 kB / 0.5633 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.964e-05/0.3339, allocations: 11.86 kB / 0.5633 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.334, allocations: 19.8 kB / 0.5633 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.3341, allocations: 31.95 kB / 0.5633 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.3342, allocations: 107.6 kB / 0.5634 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.3344, allocations: 42.22 kB / 0.5635 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.3345, allocations: 39.86 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.3346, allocations: 59.75 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.3346, allocations: 12 kB / 0.5636 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.706e-05/0.3346, allocations: 12 kB / 0.5636 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.11e-05/0.3346, allocations: 23.92 kB / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.935e-05/0.3347, allocations: 47.8 kB / 0.5637 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.3349, allocations: 119.5 kB / 0.5638 GB, free: 2.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3349, allocations: 4 kB / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3349, allocations: 0 / 0.5638 GB, free: 2.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3349, allocations: 0 / 0.5638 GB, free: 2.105 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006345/0.3355, allocations: 349.8 kB / 0.5641 GB, free: 1.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3356, allocations: 12.03 kB / 0.5641 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.3356, allocations: 38.73 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.3356, allocations: 12.89 kB / 0.5642 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3358, allocations: 118.4 kB / 0.5643 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3358, allocations: 12.25 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3358, allocations: 12.38 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.3361, allocations: 126.1 kB / 0.5644 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.3361, allocations: 3.938 kB / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3362, allocations: 0 / 0.5644 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.3362, allocations: 4 kB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.3365, allocations: 107.8 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.3373, allocations: 450.5 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.3376, allocations: 78.47 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.3378, allocations: 64.94 kB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3378, allocations: 0 / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3379, allocations: 34.5 kB / 0.5651 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3379, allocations: 4 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007845/0.3386, allocations: 190.3 kB / 0.5653 GB, free: 376 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.3387, allocations: 51.41 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3388, allocations: 125.8 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3388, allocations: 29.7 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.3389, allocations: 104.2 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.3389, allocations: 23.8 kB / 0.5657 GB, free: 4 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.339, allocations: 21.77 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3391, allocations: 318.8 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3393, allocations: 39.95 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.3394, allocations: 50.55 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.3397, allocations: 106.4 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3397, allocations: 0 / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003994/0.3401, allocations: 146.4 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3401, allocations: 4 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3401, allocations: 4.312 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.3403, allocations: 20.84 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.3404, allocations: 31.91 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.3416, allocations: 1.295 MB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.3417, allocations: 15.95 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3417, allocations: 12.16 kB / 0.5677 GB, free: 13.79 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 (5): * Single equations (assignments): 4 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.3419, allocations: 126 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.3419, allocations: 7.891 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.3419, allocations: 12.38 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.3419, allocations: 0 / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.3419, allocations: 0 / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3419, allocations: 3.984 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006809/0.3426, allocations: 391.2 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3426, allocations: 3.984 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.3427, allocations: 15.98 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.309e-05/0.3428, allocations: 24.78 kB / 0.5682 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3428, allocations: 8.031 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009901/0.3438, allocations: 1.303 MB / 0.5695 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3438, allocations: 4.062 kB / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/0.3442, allocations: 241 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.3442, allocations: 7.953 kB / 0.5697 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3442, allocations: 8 kB / 0.5697 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3443, allocations: 11.98 kB / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.3444, allocations: 7.984 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3444, allocations: 4 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.25e-05/0.3445, allocations: 99.2 kB / 0.5699 GB, free: 11.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3445, allocations: 0 / 0.5699 GB, free: 11.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3447, allocations: 27.89 kB / 0.5699 GB, free: 11.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * 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): 1 system {(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.0008092/0.3455, allocations: 0.7609 MB / 0.5706 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005339/0.3461, allocations: 214.5 kB / 0.5708 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3461, allocations: 0 / 0.5708 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.3463, allocations: 162.6 kB / 0.571 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.3467, allocations: 12.12 kB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.349, allocations: 1.594 MB / 0.5726 GB, free: 8.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3493, allocations: 0.7041 MB / 0.5732 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4e-05/0.3494, allocations: 3.75 kB / 0.5732 GB, free: 7.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.3494, allocations: 27.42 kB / 0.5733 GB, free: 7.645 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3494, allocations: 3.938 kB / 0.5733 GB, free: 7.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.3786, allocations: 2.395 MB / 0.5756 GB, free: 5.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.4, allocations: 20.92 kB / 0.5756 GB, free: 5.316 MB / 414.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.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_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.376765272114426] Failed to read output from testmodel.py, exit status != 0: ['time', 'reluctance.V_m', 'reluctance.Phi', 'permeance.V_m', 'permeance.Phi'] 10.499956644140184 10.524036434 10.18451467 Calling exit ...