Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.00136/0.00136, 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.00167/0.00167, 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.462/1.462, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2522/0.2522, allocations: 46.95 MB / 361.6 MB, free: 4.16 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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",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.002276/0.002276, allocations: 75.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.316, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00726/0.3232, allocations: 5.381 MB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.3266, allocations: 1.666 MB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.3269, allocations: 20 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003616/0.3305, allocations: 1.614 MB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009135/0.3315, allocations: 313.6 kB / 0.5703 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.3326, allocations: 0.5141 MB / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000939/0.3335, allocations: 0.8007 MB / 0.5716 GB, free: 9.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009804/0.3345, allocations: 0.6409 MB / 0.5722 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004837/0.335, allocations: 354.7 kB / 0.5725 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.3356, allocations: 466.2 kB / 0.573 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.3357, allocations: 72 kB / 0.573 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.3361, allocations: 195.9 kB / 0.5732 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.3363, allocations: 179.3 kB / 0.5734 GB, free: 8.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004121/0.3367, allocations: 422 kB / 0.5738 GB, free: 7.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3381, allocations: 1.187 MB / 0.575 GB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3381, allocations: 0 / 0.575 GB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3381, allocations: 0 / 0.575 GB, free: 6.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.3381, allocations: 4 kB / 0.575 GB, free: 6.445 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003325/0.3415, allocations: 1.293 MB / 0.5762 GB, free: 5.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3415, allocations: 12.03 kB / 0.5762 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.3417, allocations: 156.4 kB / 0.5764 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.3433, allocations: 232.2 kB / 0.5766 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3436, allocations: 198 kB / 0.5768 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.3436, allocations: 74.38 kB / 0.5769 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.3438, allocations: 103.9 kB / 0.577 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.3455, allocations: 0.9321 MB / 0.5779 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.3455, allocations: 11.94 kB / 0.5779 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-05/0.3456, allocations: 44 kB / 0.5779 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.3456, allocations: 27.94 kB / 0.578 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.3471, allocations: 0.7222 MB / 0.5787 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/0.3525, allocations: 3.684 MB / 0.5823 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.3542, allocations: 0.7706 MB / 0.583 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.3547, allocations: 260.4 kB / 0.5833 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.3548, allocations: 36.28 kB / 0.5833 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.3548, allocations: 38.89 kB / 0.5833 GB, free: 13.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.895e-06/0.3548, allocations: 0 / 0.5833 GB, free: 13.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002753/0.3576, allocations: 1.021 MB / 0.5843 GB, free: 12.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.3577, allocations: 140.5 kB / 0.5845 GB, free: 12.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.3582, allocations: 320.1 kB / 0.5848 GB, free: 11.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.3582, allocations: 37.7 kB / 0.5848 GB, free: 11.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.3585, allocations: 403.9 kB / 0.5852 GB, free: 11.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.3587, allocations: 242 kB / 0.5854 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.3589, allocations: 150.6 kB / 0.5856 GB, free: 11.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003041/0.3592, allocations: 350.7 kB / 0.5859 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.3596, allocations: 201.9 kB / 0.5861 GB, free: 10.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/0.3604, allocations: 404.6 kB / 0.5865 GB, free: 10.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009672/0.3613, allocations: 0.6221 MB / 0.5871 GB, free: 9.367 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3613, allocations: 0 / 0.5871 GB, free: 9.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001718/0.363, allocations: 0.8776 MB / 0.5879 GB, free: 8.473 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3631, allocations: 11.94 kB / 0.588 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.3631, allocations: 4 kB / 0.588 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.3638, allocations: 227.4 kB / 0.5882 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.3643, allocations: 143.7 kB / 0.5883 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006613/0.3709, allocations: 6.301 MB / 0.5945 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.3715, allocations: 79.39 kB / 0.5945 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.3716, allocations: 36 kB / 0.5946 GB, free: 1.207 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004285/0.372, allocations: 222.5 kB / 0.5948 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.3722, allocations: 47.72 kB / 0.5948 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.3736, allocations: 0.6917 MB / 0.5955 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3736, allocations: 8 kB / 0.5955 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.3737, allocations: 12 kB / 0.5955 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3737, allocations: 3.984 kB / 0.5955 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002784/0.3764, allocations: 1.526 MB / 0.597 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3765, allocations: 4 kB / 0.597 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.3767, allocations: 67.91 kB / 0.5971 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005919/0.3773, allocations: 211.2 kB / 0.5973 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.3773, allocations: 15.98 kB / 0.5973 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006609/0.384, allocations: 6.304 MB / 0.6035 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.384, allocations: 4.031 kB / 0.6035 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.3858, allocations: 1.191 MB / 0.6046 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.3859, allocations: 47.62 kB / 0.6047 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.3859, allocations: 12.38 kB / 0.6047 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.3863, allocations: 12 kB / 0.6047 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.3864, allocations: 71.77 kB / 0.6048 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.3864, allocations: 16 kB / 0.6048 GB, free: 6.164 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.3867, allocations: 219 kB / 0.605 GB, free: 5.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3867, allocations: 0 / 0.605 GB, free: 5.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000999/0.3877, allocations: 283.3 kB / 0.6053 GB, free: 5.672 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002185/0.3899, allocations: 1.769 MB / 0.607 GB, free: 3.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.3916, allocations: 1.045 MB / 0.608 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3917, allocations: 0 / 0.608 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.3927, allocations: 0.7565 MB / 0.6088 GB, free: 1.953 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.3933, allocations: 52.58 kB / 0.6088 GB, free: 1.902 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00794/0.4012, allocations: 5.123 MB / 0.6138 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008192/0.402, allocations: 0.9188 MB / 0.6147 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.4023, allocations: 60.55 kB / 0.6148 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/0.4026, allocations: 235.4 kB / 0.615 GB, free: 11.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4026, allocations: 112 / 0.615 GB, free: 11.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05486/0.4575, allocations: 12.5 MB / 0.6272 GB, free: 14.89 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.24, allocations: 0 / 0.6272 GB, free: 14.89 MB / 478.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.09116974985227] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSource1.port_p.reference.gamma', 'quarterHollowSphere.port_p.reference.gamma'] 11.336772710084915 11.36159106 11.018832005 Calling exit ...