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.001443/0.001443, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001515/0.001515, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.595/1.595, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2348/0.2348, allocations: 46.88 MB / 357.4 MB, free: 10.53 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.003262/0.003262, allocations: 83.86 kB / 0.4912 GB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1676, allocations: 65.98 MB / 0.5556 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007697/0.1753, allocations: 5.363 MB / 0.5609 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003701/0.179, allocations: 1.658 MB / 0.5625 GB, free: 15.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008427/0.1798, allocations: 16 kB / 0.5625 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.184, allocations: 1.606 MB / 0.5641 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.1855, allocations: 313.6 kB / 0.5644 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.1872, allocations: 0.5252 MB / 0.5649 GB, free: 12.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.1889, allocations: 0.8046 MB / 0.5657 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.19, allocations: 0.5572 MB / 0.5662 GB, free: 11.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.1905, allocations: 338.7 kB / 0.5666 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006167/0.1911, allocations: 466.2 kB / 0.567 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1912, allocations: 72 kB / 0.5671 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000527/0.1918, allocations: 199.9 kB / 0.5673 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1919, allocations: 179.3 kB / 0.5674 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004244/0.1924, allocations: 422 kB / 0.5678 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.1939, allocations: 1.179 MB / 0.569 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1939, allocations: 4 kB / 0.569 GB, free: 8.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1939, allocations: 0 / 0.569 GB, free: 8.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1939, allocations: 0 / 0.569 GB, free: 8.727 MB / 430.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.003475/0.1973, allocations: 1.376 MB / 0.5703 GB, free: 7.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1974, allocations: 12.03 kB / 0.5703 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.1976, allocations: 144.4 kB / 0.5705 GB, free: 7.141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.1992, allocations: 236.2 kB / 0.5707 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1994, allocations: 262.7 kB / 0.571 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.1995, allocations: 74.38 kB / 0.571 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.1997, allocations: 103.9 kB / 0.5711 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.2014, allocations: 0.9361 MB / 0.572 GB, free: 5.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.2014, allocations: 7.953 kB / 0.572 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.2015, allocations: 40 kB / 0.5721 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.2015, allocations: 24 kB / 0.5721 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.2028, allocations: 0.73 MB / 0.5728 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005559/0.2084, allocations: 4.092 MB / 0.5768 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.2112, allocations: 3.319 MB / 0.5801 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.2117, allocations: 263.3 kB / 0.5803 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.2118, allocations: 182.5 kB / 0.5805 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.2119, allocations: 50.75 kB / 0.5805 GB, free: 11.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.064e-06/0.2119, allocations: 0 / 0.5805 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.00288/0.2148, allocations: 1.324 MB / 0.5818 GB, free: 10.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2149, allocations: 140.6 kB / 0.582 GB, free: 10.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.2153, allocations: 314.9 kB / 0.5823 GB, free: 9.816 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.2154, allocations: 33.7 kB / 0.5823 GB, free: 9.777 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.2157, allocations: 411.8 kB / 0.5827 GB, free: 9.367 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.2159, allocations: 249.9 kB / 0.5829 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.2161, allocations: 146.6 kB / 0.5831 GB, free: 8.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.2163, allocations: 354.7 kB / 0.5834 GB, free: 8.617 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.2167, allocations: 201.9 kB / 0.5836 GB, free: 8.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.2173, allocations: 400.6 kB / 0.584 GB, free: 7.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009615/0.2182, allocations: 0.6181 MB / 0.5846 GB, free: 7.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-06/0.2182, allocations: 0 / 0.5846 GB, free: 7.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001615/0.2198, allocations: 0.8813 MB / 0.5854 GB, free: 6.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.2199, allocations: 8 kB / 0.5854 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.2199, allocations: 4 kB / 0.5854 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006737/0.2206, allocations: 231.6 kB / 0.5857 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.221, allocations: 139.8 kB / 0.5858 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2653/0.4863, allocations: 6.695 MB / 0.5923 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.4869, allocations: 90.61 kB / 0.5924 GB, free: 33.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.487, allocations: 36.11 kB / 0.5925 GB, free: 33.42 MB / 446.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.0002875/0.4873, allocations: 216.3 kB / 0.5927 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.4874, allocations: 46.89 kB / 0.5927 GB, free: 33.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.4887, allocations: 0.6901 MB / 0.5934 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.4887, allocations: 9.188 kB / 0.5934 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4887, allocations: 6.078 kB / 0.5934 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4887, allocations: 4.656 kB / 0.5934 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.4911, allocations: 1.566 MB / 0.5949 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4911, allocations: 7.219 kB / 0.5949 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.4913, allocations: 66.52 kB / 0.595 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/0.4918, allocations: 218.6 kB / 0.5952 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.4918, allocations: 12.28 kB / 0.5952 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004337/0.4962, allocations: 6.703 MB / 0.6018 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4962, allocations: 0.75 kB / 0.6018 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.4977, allocations: 1.186 MB / 0.6029 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.4978, allocations: 126.6 kB / 0.6031 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.376e-05/0.4979, allocations: 12.16 kB / 0.6031 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.4982, allocations: 17.45 kB / 0.6031 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4983, allocations: 56.83 kB / 0.6031 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.4983, allocations: 22.06 kB / 0.6032 GB, free: 26.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002282/0.4986, allocations: 212.2 kB / 0.6034 GB, free: 26.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4986, allocations: 0 / 0.6034 GB, free: 26.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001013/0.4996, allocations: 282.7 kB / 0.6036 GB, free: 25.95 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.001726/0.5013, allocations: 1.768 MB / 0.6054 GB, free: 24.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.5029, allocations: 1.047 MB / 0.6064 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5029, allocations: 0.5625 kB / 0.6064 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008278/0.5037, allocations: 0.7613 MB / 0.6071 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.5044, allocations: 47.23 kB / 0.6072 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006754/0.5112, allocations: 5.129 MB / 0.6122 GB, free: 20.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.5116, allocations: 0.9172 MB / 0.6131 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.5119, allocations: 61.8 kB / 0.6131 GB, free: 19.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.5121, allocations: 237 kB / 0.6134 GB, free: 19.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5121, allocations: 0 / 0.6134 GB, free: 19.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05631/0.5684, allocations: 11.96 MB / 0.625 GB, free: 15.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.45, allocations: 5.875 kB / 0.625 GB, free: 15.75 MB / 446.1 MB " [Timeout remaining time 648] (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.509012564085424] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSource1.port_p.reference.gamma', 'quarterHollowSphere.port_p.reference.gamma'] 11.541217951104045 11.549971276 11.353948266 Calling exit ...