Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.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.00146/0.00146, allocations: 105 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.001655/0.001655, allocations: 216.1 kB / 22.92 MB, free: 5.195 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.314/1.314, allocations: 230.2 MB / 256.1 MB, free: 8.574 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.2015/0.2015, allocations: 46.89 MB / 359.3 MB, free: 4.941 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.Sensors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors",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.002145/0.002145, allocations: 80.05 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2582, allocations: 65.98 MB / 0.5584 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003302/0.2615, allocations: 1.951 MB / 0.5603 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2626, allocations: 0.6076 MB / 0.5609 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2627, allocations: 7.938 kB / 0.5609 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.2629, allocations: 31.72 kB / 0.5609 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.263, allocations: 35.77 kB / 0.561 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.2631, allocations: 51.88 kB / 0.561 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.2633, allocations: 143.5 kB / 0.5612 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2635, allocations: 55.33 kB / 0.5612 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.2636, allocations: 51.8 kB / 0.5613 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.2637, allocations: 63.7 kB / 0.5613 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2637, allocations: 16 kB / 0.5613 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.68e-05/0.2637, allocations: 12 kB / 0.5613 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.2637, allocations: 31.91 kB / 0.5614 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.2638, allocations: 67.67 kB / 0.5614 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.264, allocations: 163.3 kB / 0.5616 GB, free: 1.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.264, allocations: 3.984 kB / 0.5616 GB, free: 1.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.264, allocations: 0 / 0.5616 GB, free: 1.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.264, allocations: 0 / 0.5616 GB, free: 1.879 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006266/0.2646, allocations: 459 kB / 0.562 GB, free: 1.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2647, allocations: 12.03 kB / 0.562 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.2647, allocations: 50.73 kB / 0.5621 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.2648, allocations: 20.84 kB / 0.5621 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.265, allocations: 203.8 kB / 0.5623 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2651, allocations: 8.656 kB / 0.5623 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.2651, allocations: 16.38 kB / 0.5623 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.2654, allocations: 140.8 kB / 0.5625 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2654, allocations: 4 kB / 0.5625 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2654, allocations: 4 kB / 0.5625 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2654, allocations: 4 kB / 0.5625 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.2657, allocations: 104.8 kB / 0.5626 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.2667, allocations: 0.6068 MB / 0.5632 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.2669, allocations: 70.52 kB / 0.5632 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.267, allocations: 29 kB / 0.5633 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.2671, allocations: 4 kB / 0.5633 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.2671, allocations: 38.56 kB / 0.5633 GB, free: 15.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2671, allocations: 3.938 kB / 0.5633 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003815/0.2675, allocations: 109.6 kB / 0.5634 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.2675, allocations: 51.41 kB / 0.5635 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2677, allocations: 161.3 kB / 0.5636 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2677, allocations: 25.7 kB / 0.5636 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.2677, allocations: 131.8 kB / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2678, allocations: 19.89 kB / 0.5638 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.2678, allocations: 21.67 kB / 0.5638 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2679, allocations: 326.8 kB / 0.5641 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.268, allocations: 35.97 kB / 0.5642 GB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.2682, allocations: 60.27 kB / 0.5642 GB, free: 14.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.2684, allocations: 92.2 kB / 0.5643 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2684, allocations: 3.938 kB / 0.5643 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002863/0.2687, allocations: 129.5 kB / 0.5644 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2687, allocations: 8 kB / 0.5644 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2687, allocations: 4.125 kB / 0.5644 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2687, allocations: 3.938 kB / 0.5644 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2688, allocations: 23.98 kB / 0.5645 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2688, allocations: 4 kB / 0.5645 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.987e-05/0.2689, allocations: 19.88 kB / 0.5645 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.2689, allocations: 0 / 0.5645 GB, free: 14.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 9.019e-05/0.269, allocations: 125.8 kB / 0.5646 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.2691, allocations: 7.953 kB / 0.5646 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.2691, allocations: 20.55 kB / 0.5646 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2691, allocations: 3.938 kB / 0.5646 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2691, allocations: 4 kB / 0.5646 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2691, allocations: 0 / 0.5646 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.2693, allocations: 209.5 kB / 0.5648 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2693, allocations: 0 / 0.5648 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.2694, allocations: 15.98 kB / 0.5649 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2694, allocations: 0 / 0.5649 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2694, allocations: 8 kB / 0.5649 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2694, allocations: 4.016 kB / 0.5649 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2694, allocations: 7.984 kB / 0.5649 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.2697, allocations: 183.4 kB / 0.565 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.2697, allocations: 81.06 kB / 0.5651 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2698, allocations: 0 / 0.5651 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.2699, allocations: 11.92 kB / 0.5651 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.2699, allocations: 8 kB / 0.5651 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.2699, allocations: 4 kB / 0.5651 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.044e-05/0.27, allocations: 114.6 kB / 0.5653 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.27, allocations: 0 / 0.5653 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.2702, allocations: 31.89 kB / 0.5653 GB, free: 13.72 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 (5): * Single equations (assignments): 5 * 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.0005412/0.2708, allocations: 0.7201 MB / 0.566 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.271, allocations: 67.89 kB / 0.5661 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.271, allocations: 0 / 0.5661 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.219e-05/0.2711, allocations: 27.92 kB / 0.5661 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2713, allocations: 8 kB / 0.5661 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.2732, allocations: 1.657 MB / 0.5677 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.2735, allocations: 0.708 MB / 0.5684 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.177e-05/0.2735, allocations: 8.656 kB / 0.5684 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.2736, allocations: 35.42 kB / 0.5684 GB, free: 10.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2736, allocations: 0 / 0.5684 GB, free: 10.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.296, allocations: 2.154 MB / 0.5705 GB, free: 8.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.36, allocations: 4.062 kB / 0.5705 GB, free: 8.246 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors_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_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.879073017000337]