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.001812/0.001812, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001882, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247 MB, free: 10.42 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.2139/0.2139, allocations: 46.11 MB / 344.3 MB, free: 11.43 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.002258/0.002258, allocations: 75.88 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2951, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006881/0.302, allocations: 5.329 MB / 0.5358 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.3053, allocations: 1.656 MB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.3058, allocations: 18.94 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00346/0.3093, allocations: 1.597 MB / 0.539 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009483/0.3103, allocations: 312.5 kB / 0.5393 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3114, allocations: 0.5255 MB / 0.5398 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008588/0.3123, allocations: 0.8004 MB / 0.5406 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.3133, allocations: 0.7204 MB / 0.5413 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004867/0.3138, allocations: 347.7 kB / 0.5416 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/0.3144, allocations: 467.6 kB / 0.5421 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.655e-05/0.3145, allocations: 75.84 kB / 0.5421 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.3149, allocations: 194.8 kB / 0.5423 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.315, allocations: 174.5 kB / 0.5425 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.3154, allocations: 427.9 kB / 0.5429 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.3167, allocations: 1.179 MB / 0.5441 GB, free: 3.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3167, allocations: 3.938 kB / 0.5441 GB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3167, allocations: 0 / 0.5441 GB, free: 3.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3168, allocations: 1.094 kB / 0.5441 GB, free: 3.117 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.003248/0.32, allocations: 1.369 MB / 0.5454 GB, free: 2.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3201, allocations: 13.38 kB / 0.5454 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.3202, allocations: 152.6 kB / 0.5456 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.3218, allocations: 233.6 kB / 0.5458 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.3221, allocations: 265.5 kB / 0.546 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.3221, allocations: 77.81 kB / 0.5461 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.3223, allocations: 100.5 kB / 0.5462 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.3238, allocations: 0.9361 MB / 0.5471 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.5e-05/0.3239, allocations: 7.953 kB / 0.5471 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.371e-05/0.3239, allocations: 40 kB / 0.5472 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.324, allocations: 24 kB / 0.5472 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.3252, allocations: 0.7262 MB / 0.5479 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005078/0.3303, allocations: 4.092 MB / 0.5519 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.3332, allocations: 3.379 MB / 0.5552 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.3337, allocations: 292.4 kB / 0.5555 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.3339, allocations: 182.5 kB / 0.5556 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3339, allocations: 38.89 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.915e-06/0.3339, allocations: 4 kB / 0.5557 GB, free: 6.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002776/0.3367, allocations: 1.338 MB / 0.557 GB, free: 5.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.281e-05/0.3368, allocations: 136.5 kB / 0.5571 GB, free: 5.176 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.3372, allocations: 310.8 kB / 0.5574 GB, free: 4.863 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.3373, allocations: 45.64 kB / 0.5575 GB, free: 4.812 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.3376, allocations: 415.7 kB / 0.5579 GB, free: 4.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.3378, allocations: 242 kB / 0.5581 GB, free: 4.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.338, allocations: 150.6 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3382, allocations: 354.7 kB / 0.5586 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.3386, allocations: 201.9 kB / 0.5588 GB, free: 3.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.3391, allocations: 400.6 kB / 0.5591 GB, free: 2.988 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/0.34, allocations: 0.6181 MB / 0.5597 GB, free: 2.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.34, allocations: 12 kB / 0.5598 GB, free: 2.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001512/0.3415, allocations: 0.8817 MB / 0.5606 GB, free: 1.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3416, allocations: 12.03 kB / 0.5606 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3416, allocations: 4 kB / 0.5606 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/0.3422, allocations: 227.2 kB / 0.5608 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.3427, allocations: 147.7 kB / 0.561 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006065/0.3488, allocations: 6.696 MB / 0.5675 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.3493, allocations: 95.22 kB / 0.5676 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.079e-05/0.3494, allocations: 40.06 kB / 0.5677 GB, free: 9.594 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.000314/0.3497, allocations: 225.6 kB / 0.5679 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.3498, allocations: 39.77 kB / 0.5679 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.3511, allocations: 0.6883 MB / 0.5686 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.3511, allocations: 8 kB / 0.5686 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3511, allocations: 4 kB / 0.5686 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3511, allocations: 3.984 kB / 0.5686 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.3535, allocations: 1.577 MB / 0.5701 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3535, allocations: 4 kB / 0.5701 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.3538, allocations: 67.91 kB / 0.5702 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/0.3543, allocations: 215.4 kB / 0.5704 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.3544, allocations: 19.98 kB / 0.5704 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005872/0.3602, allocations: 6.706 MB / 0.577 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3603, allocations: 0 / 0.577 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.3619, allocations: 1.199 MB / 0.5781 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.362, allocations: 132.6 kB / 0.5783 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.3621, allocations: 12 kB / 0.5783 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.3624, allocations: 12 kB / 0.5783 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3625, allocations: 59.8 kB / 0.5784 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.3626, allocations: 20 kB / 0.5784 GB, free: 13.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000239/0.3628, allocations: 209.9 kB / 0.5786 GB, free: 13.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3628, allocations: 8 kB / 0.5786 GB, free: 13.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009974/0.3638, allocations: 279.4 kB / 0.5788 GB, free: 13.41 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.002024/0.3659, allocations: 1.774 MB / 0.5806 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.3675, allocations: 1.075 MB / 0.5816 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3675, allocations: 1.125 kB / 0.5816 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009191/0.3684, allocations: 0.7872 MB / 0.5824 GB, free: 9.625 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.369, allocations: 48.48 kB / 0.5824 GB, free: 9.578 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007127/0.3762, allocations: 5.13 MB / 0.5875 GB, free: 4.168 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.3768, allocations: 0.915 MB / 0.5883 GB, free: 3.223 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.3771, allocations: 60.64 kB / 0.5884 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.3774, allocations: 239.3 kB / 0.5886 GB, free: 2.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3774, allocations: 3.938 kB / 0.5886 GB, free: 2.926 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04617/0.4236, allocations: 11.69 MB / 0.6001 GB, free: 7.441 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.342/9.766, allocations: 19.61 kB / 0.6001 GB, free: 7.422 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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)