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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001692/0.001692, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2323/0.2323, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB 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.00237/0.00237, allocations: 75.88 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3067, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006611/0.3133, allocations: 5.323 MB / 0.5358 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.3162, allocations: 1.651 MB / 0.5374 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.3166, allocations: 22.16 kB / 0.5374 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003463/0.3201, allocations: 1.597 MB / 0.539 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008762/0.3209, allocations: 313 kB / 0.5393 GB, free: 6.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.322, allocations: 0.5207 MB / 0.5398 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009095/0.323, allocations: 0.8054 MB / 0.5406 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.324, allocations: 0.7272 MB / 0.5413 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.3245, allocations: 347 kB / 0.5416 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.3251, allocations: 460.2 kB / 0.5421 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.3252, allocations: 75.09 kB / 0.5421 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.3257, allocations: 203.6 kB / 0.5423 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.3258, allocations: 170.7 kB / 0.5425 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.3262, allocations: 432.2 kB / 0.5429 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3276, allocations: 1.167 MB / 0.544 GB, free: 3.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3276, allocations: 4 kB / 0.544 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3276, allocations: 0 / 0.544 GB, free: 3.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.3276, allocations: 1.125 kB / 0.5441 GB, free: 3.16 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003289/0.3309, allocations: 1.377 MB / 0.5454 GB, free: 2.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3309, allocations: 9.125 kB / 0.5454 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/0.3311, allocations: 160.9 kB / 0.5456 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.3327, allocations: 237 kB / 0.5458 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.333, allocations: 257.6 kB / 0.546 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.026e-05/0.3331, allocations: 73.12 kB / 0.5461 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.3332, allocations: 104.8 kB / 0.5462 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.3347, allocations: 0.9334 MB / 0.5471 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.3348, allocations: 7.953 kB / 0.5471 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.3349, allocations: 40 kB / 0.5472 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.3349, allocations: 24 kB / 0.5472 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.3361, allocations: 0.7223 MB / 0.5479 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/0.3412, allocations: 4.099 MB / 0.5519 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.344, allocations: 3.373 MB / 0.5552 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.3444, allocations: 292.5 kB / 0.5555 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.3446, allocations: 186.5 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.3446, allocations: 42.83 kB / 0.5557 GB, free: 6.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.204e-06/0.3447, allocations: 0 / 0.5557 GB, free: 6.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002722/0.3474, allocations: 1.341 MB / 0.557 GB, free: 5.395 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.3475, allocations: 140.6 kB / 0.5571 GB, free: 5.227 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003705/0.3479, allocations: 314.8 kB / 0.5574 GB, free: 4.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3479, allocations: 37.7 kB / 0.5575 GB, free: 4.867 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.3482, allocations: 407.8 kB / 0.5578 GB, free: 4.461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.3484, allocations: 245.9 kB / 0.5581 GB, free: 4.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.3486, allocations: 150.6 kB / 0.5582 GB, free: 4.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3487, allocations: 350.7 kB / 0.5586 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.3491, allocations: 205.9 kB / 0.5588 GB, free: 3.516 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.3496, allocations: 408.5 kB / 0.5591 GB, free: 3.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.3505, allocations: 0.6181 MB / 0.5598 GB, free: 2.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3505, allocations: 0 / 0.5598 GB, free: 2.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001517/0.352, allocations: 0.8892 MB / 0.5606 GB, free: 1.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.3521, allocations: 11.98 kB / 0.5606 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3521, allocations: 4 kB / 0.5606 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006397/0.3527, allocations: 231.5 kB / 0.5609 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.3533, allocations: 139.8 kB / 0.561 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006111/0.3594, allocations: 6.704 MB / 0.5675 GB, free: 9.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005456/0.36, allocations: 87.3 kB / 0.5676 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.36, allocations: 36 kB / 0.5677 GB, free: 9.656 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.0003425/0.3604, allocations: 229.6 kB / 0.5679 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3605, allocations: 39.77 kB / 0.5679 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.3618, allocations: 0.6922 MB / 0.5686 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3618, allocations: 4 kB / 0.5686 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3618, allocations: 8 kB / 0.5686 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3619, allocations: 3.984 kB / 0.5686 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.3644, allocations: 1.577 MB / 0.5701 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3644, allocations: 0 / 0.5701 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.3647, allocations: 75.89 kB / 0.5702 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005521/0.3653, allocations: 207.2 kB / 0.5704 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.3653, allocations: 19.98 kB / 0.5704 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006624/0.3719, allocations: 6.698 MB / 0.577 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.372, allocations: 7.938 kB / 0.577 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.3738, allocations: 1.191 MB / 0.5781 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.374, allocations: 136.7 kB / 0.5783 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.3741, allocations: 15.94 kB / 0.5783 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.3744, allocations: 12.06 kB / 0.5783 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3745, allocations: 63.8 kB / 0.5784 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.3746, allocations: 19.98 kB / 0.5784 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.3749, allocations: 210 kB / 0.5786 GB, free: 13.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.244e-06/0.3749, allocations: 0 / 0.5786 GB, free: 13.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00116/0.3761, allocations: 283.3 kB / 0.5788 GB, free: 13.46 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.002137/0.3782, allocations: 1.77 MB / 0.5806 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.38, allocations: 1.072 MB / 0.5816 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.38, allocations: 0 / 0.5816 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009727/0.381, allocations: 0.7917 MB / 0.5824 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.3817, allocations: 52.48 kB / 0.5824 GB, free: 9.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007364/0.3891, allocations: 5.139 MB / 0.5875 GB, free: 4.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.3897, allocations: 0.9072 MB / 0.5884 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.3899, allocations: 68.55 kB / 0.5884 GB, free: 3.215 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.3902, allocations: 235.3 kB / 0.5886 GB, free: 2.984 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3902, allocations: 0 / 0.5886 GB, free: 2.984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/0.4366, allocations: 11.7 MB / 0.6001 GB, free: 7.496 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.42/9.856, allocations: 19.61 kB / 0.6001 GB, free: 7.477 MB / 462.1 MB (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 --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)