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.001416/0.001416, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001564/0.001564, allocations: 214.8 kB / 22.92 MB, free: 5.191 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.292/1.292, allocations: 230.2 MB / 256.2 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 179] 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.1984/0.1984, allocations: 46.91 MB / 359.3 MB, free: 4.945 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.002087/0.002087, allocations: 87.86 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2533, allocations: 65.97 MB / 0.5584 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002676/0.256, allocations: 1.736 MB / 0.5601 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001445/0.2561, allocations: 95.62 kB / 0.5602 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.2562, allocations: 4 kB / 0.5602 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.2562, allocations: 11.86 kB / 0.5602 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.533e-05/0.2563, allocations: 19.8 kB / 0.5602 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.822e-05/0.2564, allocations: 31.95 kB / 0.5602 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.2565, allocations: 103.6 kB / 0.5603 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2566, allocations: 48.19 kB / 0.5604 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/0.2567, allocations: 47.84 kB / 0.5604 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.2568, allocations: 55.77 kB / 0.5605 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2568, allocations: 12 kB / 0.5605 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.2568, allocations: 8 kB / 0.5605 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.2568, allocations: 23.92 kB / 0.5605 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.2569, allocations: 47.8 kB / 0.5606 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.257, allocations: 115.5 kB / 0.5607 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.257, allocations: 0 / 0.5607 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.257, allocations: 0 / 0.5607 GB, free: 2.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.257, allocations: 0 / 0.5607 GB, free: 2.852 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.0005844/0.2576, allocations: 434.9 kB / 0.5611 GB, free: 2.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.2576, allocations: 8.031 kB / 0.5611 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.2577, allocations: 38.75 kB / 0.5611 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.2577, allocations: 8.891 kB / 0.5611 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2578, allocations: 180.2 kB / 0.5613 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2579, allocations: 12.31 kB / 0.5613 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.2579, allocations: 12.38 kB / 0.5613 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.2582, allocations: 125.4 kB / 0.5615 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.2582, allocations: 3.938 kB / 0.5615 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2582, allocations: 12 kB / 0.5615 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.2582, allocations: 0 / 0.5615 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.2586, allocations: 111.8 kB / 0.5616 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.2592, allocations: 471.4 kB / 0.562 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.2595, allocations: 82.45 kB / 0.5621 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.2597, allocations: 64.94 kB / 0.5622 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.2597, allocations: 0 / 0.5622 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.2597, allocations: 34.5 kB / 0.5622 GB, free: 1.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.2597, allocations: 0 / 0.5622 GB, free: 1.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007575/0.2605, allocations: 271.4 kB / 0.5625 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2605, allocations: 55.41 kB / 0.5625 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.245e-05/0.2606, allocations: 117.8 kB / 0.5626 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2606, allocations: 29.7 kB / 0.5627 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.2607, allocations: 108.2 kB / 0.5628 GB, free: 484 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2607, allocations: 23.8 kB / 0.5628 GB, free: 460 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.2608, allocations: 21.72 kB / 0.5628 GB, free: 432 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2609, allocations: 314.8 kB / 0.5631 GB, free: 108 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.261, allocations: 35.97 kB / 0.5631 GB, free: 72 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.2612, allocations: 58.53 kB / 0.5632 GB, free: 4 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.2615, allocations: 106.4 kB / 0.5633 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2615, allocations: 0 / 0.5633 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004193/0.2619, allocations: 142.4 kB / 0.5634 GB, free: 15.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2619, allocations: 4 kB / 0.5634 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2619, allocations: 0 / 0.5634 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.2621, allocations: 24.84 kB / 0.5635 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.2622, allocations: 23.91 kB / 0.5635 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.2632, allocations: 1.403 MB / 0.5649 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.523e-05/0.2633, allocations: 20.02 kB / 0.5649 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.2633, allocations: 8.156 kB / 0.5649 GB, free: 14.12 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 9.085e-05/0.2634, allocations: 125.1 kB / 0.565 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.2635, allocations: 11.89 kB / 0.565 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.2635, allocations: 8.375 kB / 0.565 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2635, allocations: 0 / 0.565 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2635, allocations: 7.938 kB / 0.565 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2635, allocations: 3.984 kB / 0.565 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006427/0.2641, allocations: 424.1 kB / 0.5654 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2641, allocations: 0 / 0.5654 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.448e-05/0.2642, allocations: 15.98 kB / 0.5654 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.746e-05/0.2643, allocations: 24.84 kB / 0.5655 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2643, allocations: 4.031 kB / 0.5655 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009393/0.2652, allocations: 1.403 MB / 0.5668 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2652, allocations: 4.062 kB / 0.5669 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.2657, allocations: 241 kB / 0.5671 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.2657, allocations: 85.06 kB / 0.5672 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.2657, allocations: 4.125 kB / 0.5672 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2658, allocations: 19.97 kB / 0.5672 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.2659, allocations: 8 kB / 0.5672 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.2659, allocations: 4 kB / 0.5672 GB, free: 11.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.528e-05/0.2659, allocations: 95.2 kB / 0.5673 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2659, allocations: 0 / 0.5673 GB, free: 11.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000244/0.2662, allocations: 31.89 kB / 0.5673 GB, free: 11.36 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.0006922/0.2669, allocations: 0.7609 MB / 0.5681 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004765/0.2674, allocations: 206.5 kB / 0.5683 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2674, allocations: 0 / 0.5683 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.2676, allocations: 166.6 kB / 0.5684 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.2679, allocations: 16.12 kB / 0.5684 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.2699, allocations: 1.598 MB / 0.57 GB, free: 8.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.2702, allocations: 0.7004 MB / 0.5707 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.2702, allocations: 7.75 kB / 0.5707 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.2702, allocations: 23.42 kB / 0.5707 GB, free: 7.711 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2703, allocations: 7.875 kB / 0.5707 GB, free: 7.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.2968, allocations: 2.349 MB / 0.573 GB, free: 5.434 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/8.95, allocations: 4.062 kB / 0.573 GB, free: 5.43 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.448633412001072]