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.001415/0.001415, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001554/0.001554, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.561/1.561, allocations: 230.5 MB / 258.2 MB, free: 8.02 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.2383/0.2383, allocations: 46.92 MB / 361.6 MB, free: 4.223 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.002425/0.002425, allocations: 83.88 kB / 0.497 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3244, allocations: 66.09 MB / 0.5615 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00366/0.328, allocations: 1.949 MB / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3292, allocations: 0.6154 MB / 0.564 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3293, allocations: 4 kB / 0.564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.3295, allocations: 31.72 kB / 0.564 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.3296, allocations: 31.7 kB / 0.5641 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.3298, allocations: 55.88 kB / 0.5641 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.33, allocations: 151.5 kB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.3302, allocations: 47.69 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3303, allocations: 55.78 kB / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3304, allocations: 71.69 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.3304, allocations: 12 kB / 0.5644 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.762e-05/0.3305, allocations: 12 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.3305, allocations: 27.92 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.185e-05/0.3306, allocations: 63.67 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3308, allocations: 163.3 kB / 0.5647 GB, free: 1.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3308, allocations: 4 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3308, allocations: 0 / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3308, allocations: 0 / 0.5647 GB, free: 1.043 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.0007052/0.3315, allocations: 381.9 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3316, allocations: 11.97 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.3316, allocations: 46.73 kB / 0.5651 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.3317, allocations: 16.84 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.332, allocations: 150.3 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.332, allocations: 8.656 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.332, allocations: 12.38 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.3323, allocations: 143.9 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3323, allocations: 0 / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3323, allocations: 4 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3323, allocations: 4 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.3326, allocations: 112.8 kB / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.3337, allocations: 0.5746 MB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.334, allocations: 66.59 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3341, allocations: 32.97 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3341, allocations: 4 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3341, allocations: 34.5 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.492e-06/0.3341, allocations: 0 / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004056/0.3345, allocations: 105.6 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3346, allocations: 63.34 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.3347, allocations: 150.4 kB / 0.5665 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3347, allocations: 29.64 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.3348, allocations: 135.8 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3349, allocations: 19.84 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.3349, allocations: 29.66 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3351, allocations: 314.8 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.3352, allocations: 31.97 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3353, allocations: 68.2 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.3355, allocations: 100.2 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3355, allocations: 3.938 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002864/0.3358, allocations: 117.5 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3358, allocations: 10.19 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3358, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3358, allocations: 8.062 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.336, allocations: 35.91 kB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.336, allocations: 0 / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.548e-05/0.3361, allocations: 11.95 kB / 0.5674 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3361, allocations: 7.984 kB / 0.5674 GB, free: 14 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 0.0001028/0.3362, allocations: 118.7 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3362, allocations: 11.89 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.3363, allocations: 16.34 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3363, allocations: 4 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3363, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3363, allocations: 0 / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.3365, allocations: 188.6 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3365, allocations: 0 / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.3366, allocations: 16.23 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3366, allocations: 0 / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3366, allocations: 11.94 kB / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3366, allocations: 0 / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3366, allocations: 0 / 0.5678 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3369, allocations: 183.5 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.236e-05/0.3369, allocations: 11.94 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3369, allocations: 3.938 kB / 0.568 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.337, allocations: 8 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.3371, allocations: 7.922 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3371, allocations: 4 kB / 0.568 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.3372, allocations: 118.2 kB / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3372, allocations: 0 / 0.5681 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.3374, allocations: 23.95 kB / 0.5681 GB, free: 13.21 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.0006028/0.338, allocations: 0.7162 MB / 0.5688 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.3383, allocations: 71.83 kB / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3383, allocations: 0 / 0.5689 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3384, allocations: 31.91 kB / 0.5689 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3387, allocations: 8 kB / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3409, allocations: 1.652 MB / 0.5705 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.3413, allocations: 0.7079 MB / 0.5712 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.081e-05/0.3413, allocations: 12.66 kB / 0.5712 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.3414, allocations: 35.42 kB / 0.5713 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3414, allocations: 0 / 0.5713 GB, free: 9.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3653, allocations: 2.224 MB / 0.5735 GB, free: 7.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.451, allocations: 4.062 kB / 0.5735 GB, free: 7.672 MB / 414.1 MB " [Timeout remaining time 651] (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 --stepSize=0.001 --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: 11.315191159956157] Failed to read output from testmodel.py, exit status != 0: ['time', 'magneticPotentialDifferenceSensor.Phi', 'magneticFluxSensor.Phi', 'magneticPotentialDifferenceSensor.V_m'] 8.520325661171228 8.536377108 8.202255501 Calling exit ...