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.00144/0.00144, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001552/0.001552, allocations: 219.7 kB / 22.92 MB, free: 5.539 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.295/1.295, allocations: 230.2 MB / 256.1 MB, free: 8.758 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.1991/0.1991, allocations: 46.9 MB / 359.3 MB, free: 4.957 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.002122/0.002122, allocations: 87.84 kB / 0.494 GB, free: 9.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2559, allocations: 65.98 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002915/0.2588, allocations: 1.952 MB / 0.5603 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.2597, allocations: 0.6154 MB / 0.5609 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.2598, allocations: 4 kB / 0.5609 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.2599, allocations: 31.72 kB / 0.5609 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.741e-05/0.26, allocations: 35.69 kB / 0.561 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.2601, allocations: 51.89 kB / 0.561 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.2603, allocations: 147.5 kB / 0.5612 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.2604, allocations: 55.33 kB / 0.5612 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.2605, allocations: 51.8 kB / 0.5613 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.2606, allocations: 67.69 kB / 0.5613 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.2606, allocations: 16 kB / 0.5613 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.456e-05/0.2607, allocations: 12 kB / 0.5614 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.002e-05/0.2607, allocations: 23.92 kB / 0.5614 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.869e-05/0.2608, allocations: 67.67 kB / 0.5614 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.261, allocations: 167.2 kB / 0.5616 GB, free: 1.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.261, allocations: 4 kB / 0.5616 GB, free: 1.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.261, allocations: 0 / 0.5616 GB, free: 1.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.261, allocations: 0 / 0.5616 GB, free: 1.902 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.0005962/0.2616, allocations: 447 kB / 0.562 GB, free: 1.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2616, allocations: 12.03 kB / 0.562 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.2616, allocations: 50.67 kB / 0.5621 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.2617, allocations: 16.78 kB / 0.5621 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.2619, allocations: 215.6 kB / 0.5623 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2619, allocations: 12.66 kB / 0.5623 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.2619, allocations: 16.38 kB / 0.5623 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.2622, allocations: 136.8 kB / 0.5625 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2622, allocations: 0 / 0.5625 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2622, allocations: 8 kB / 0.5625 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2622, allocations: 4 kB / 0.5625 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.2625, allocations: 104.8 kB / 0.5626 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/0.2634, allocations: 0.6029 MB / 0.5632 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.2636, allocations: 66.58 kB / 0.5632 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/0.2637, allocations: 36.94 kB / 0.5633 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2637, allocations: 0 / 0.5633 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.2638, allocations: 38.56 kB / 0.5633 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.465e-06/0.2638, allocations: 3.984 kB / 0.5633 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003563/0.2641, allocations: 105.6 kB / 0.5634 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.2642, allocations: 51.41 kB / 0.5635 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2643, allocations: 165.9 kB / 0.5636 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.2643, allocations: 29.7 kB / 0.5636 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.2644, allocations: 131.8 kB / 0.5638 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.2644, allocations: 15.91 kB / 0.5638 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.2644, allocations: 25.67 kB / 0.5638 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2646, allocations: 322.8 kB / 0.5641 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2647, allocations: 32.16 kB / 0.5641 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.2648, allocations: 64.27 kB / 0.5642 GB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.265, allocations: 96.2 kB / 0.5643 GB, free: 14.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.265, allocations: 0 / 0.5643 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000271/0.2653, allocations: 129.5 kB / 0.5644 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2653, allocations: 11.94 kB / 0.5644 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2653, allocations: 0 / 0.5644 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2653, allocations: 3.938 kB / 0.5644 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2654, allocations: 28.11 kB / 0.5645 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2654, allocations: 7.984 kB / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.972e-05/0.2655, allocations: 15.89 kB / 0.5645 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.2655, allocations: 4 kB / 0.5645 GB, free: 14.66 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 8.828e-05/0.2656, allocations: 125.8 kB / 0.5646 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.2656, allocations: 7.953 kB / 0.5646 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.2657, allocations: 16.3 kB / 0.5646 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2657, allocations: 3.938 kB / 0.5646 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2657, allocations: 4 kB / 0.5646 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2657, allocations: 0 / 0.5646 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.2659, allocations: 209.5 kB / 0.5648 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2659, allocations: 3.938 kB / 0.5648 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.63e-05/0.266, allocations: 15.98 kB / 0.5649 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.266, allocations: 0 / 0.5649 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.266, allocations: 4 kB / 0.5649 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.266, allocations: 3.938 kB / 0.5649 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.266, allocations: 0 / 0.5649 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.2663, allocations: 187.4 kB / 0.565 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.2663, allocations: 85.06 kB / 0.5651 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2663, allocations: 0 / 0.5651 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.2664, allocations: 11.92 kB / 0.5651 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.2664, allocations: 7.984 kB / 0.5651 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2664, allocations: 0 / 0.5651 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.861e-05/0.2665, allocations: 115.3 kB / 0.5653 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2665, allocations: 0 / 0.5653 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.2668, allocations: 23.95 kB / 0.5653 GB, free: 13.75 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.0005167/0.2673, allocations: 0.7202 MB / 0.566 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.2675, allocations: 71.89 kB / 0.5661 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2675, allocations: 0 / 0.5661 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.312e-05/0.2676, allocations: 31.92 kB / 0.5661 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.2678, allocations: 7.984 kB / 0.5661 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.2696, allocations: 1.657 MB / 0.5677 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2699, allocations: 0.7041 MB / 0.5684 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.797e-05/0.27, allocations: 8.656 kB / 0.5684 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.27, allocations: 39.42 kB / 0.5684 GB, free: 10.37 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.27, allocations: 0 / 0.5684 GB, free: 10.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.2927, allocations: 2.157 MB / 0.5705 GB, free: 8.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.08/7.373, allocations: 4.062 kB / 0.5706 GB, free: 8.273 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 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.842811397000332]