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.001758/0.001758, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002039/0.002039, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.21/0.21, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002307/0.002307, allocations: 81.42 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1321, allocations: 62.44 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00793/0.14, allocations: 5.333 MB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.144, allocations: 1.654 MB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.1445, allocations: 20 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003478/0.148, allocations: 1.59 MB / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.1491, allocations: 309.6 kB / 489.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.1503, allocations: 0.5158 MB / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008738/0.1512, allocations: 0.7932 MB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.1522, allocations: 0.7331 MB / 491.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.1527, allocations: 342.6 kB / 491.5 MB, free: 9.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005599/0.1533, allocations: 466.1 kB / 491.9 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1534, allocations: 72 kB / 492 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.1539, allocations: 195.9 kB / 492.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.154, allocations: 171.4 kB / 492.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.1544, allocations: 441.8 kB / 492.8 MB, free: 8.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.1557, allocations: 1.152 MB / 494 MB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1558, allocations: 8 kB / 494 MB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1558, allocations: 0 / 494 MB, free: 7.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1558, allocations: 0 / 494 MB, free: 7.32 MB / 366.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.003393/0.1592, allocations: 1.35 MB / 495.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1592, allocations: 12.03 kB / 495.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.1594, allocations: 152.4 kB / 495.5 MB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.161, allocations: 227.8 kB / 495.7 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1613, allocations: 263.7 kB / 496 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.1614, allocations: 86.3 kB / 496 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.1616, allocations: 99.91 kB / 496.1 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.1631, allocations: 0.9399 MB / 497.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.1631, allocations: 4 kB / 497.1 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.939e-05/0.1632, allocations: 40 kB / 497.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.1633, allocations: 24 kB / 497.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.1646, allocations: 0.7299 MB / 497.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005949/0.1705, allocations: 4.114 MB / 0.4902 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.1738, allocations: 3.378 MB / 0.4935 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/0.1743, allocations: 292.7 kB / 0.4938 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.1746, allocations: 182.5 kB / 0.494 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.791e-05/0.1747, allocations: 46.89 kB / 0.494 GB, free: 10.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 4.589e-06/0.1747, allocations: 4 kB / 0.494 GB, free: 10.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002992/0.1777, allocations: 1.325 MB / 0.4953 GB, free: 8.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.185e-05/0.1778, allocations: 140.5 kB / 0.4955 GB, free: 8.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.1782, allocations: 318.7 kB / 0.4958 GB, free: 8.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.1783, allocations: 37.7 kB / 0.4958 GB, free: 8.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.1786, allocations: 394.4 kB / 0.4962 GB, free: 7.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.1788, allocations: 232.7 kB / 0.4964 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.179, allocations: 146.6 kB / 0.4965 GB, free: 7.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1792, allocations: 354.7 kB / 0.4969 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.1795, allocations: 197.9 kB / 0.4971 GB, free: 6.945 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.1801, allocations: 404.6 kB / 0.4974 GB, free: 6.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009485/0.181, allocations: 0.6336 MB / 0.4981 GB, free: 5.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1811, allocations: 4 kB / 0.4981 GB, free: 5.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001634/0.1827, allocations: 0.8814 MB / 0.4989 GB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.1827, allocations: 12.09 kB / 0.4989 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.1827, allocations: 8 kB / 0.4989 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006621/0.1834, allocations: 223.2 kB / 0.4992 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.1839, allocations: 143.8 kB / 0.4993 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1995/0.3834, allocations: 6.697 MB / 0.5058 GB, free: 38.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.384, allocations: 99.81 kB / 0.5059 GB, free: 38.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.384, allocations: 33.12 kB / 0.506 GB, free: 38.16 MB / 382.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.0002871/0.3843, allocations: 223.5 kB / 0.5062 GB, free: 38.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.3845, allocations: 43.73 kB / 0.5062 GB, free: 38.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/0.3856, allocations: 0.6837 MB / 0.5069 GB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3856, allocations: 11.2 kB / 0.5069 GB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3856, allocations: 9.656 kB / 0.5069 GB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.3856, allocations: 5.172 kB / 0.5069 GB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.3878, allocations: 1.569 MB / 0.5084 GB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3878, allocations: 1.656 kB / 0.5084 GB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.3881, allocations: 70.86 kB / 0.5085 GB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/0.3886, allocations: 216.4 kB / 0.5087 GB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.3886, allocations: 18.59 kB / 0.5087 GB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/0.3925, allocations: 6.71 MB / 0.5153 GB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3925, allocations: 96 / 0.5153 GB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.3938, allocations: 1.191 MB / 0.5164 GB, free: 30.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.394, allocations: 136.8 kB / 0.5166 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.394, allocations: 12.36 kB / 0.5166 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.3943, allocations: 13.34 kB / 0.5166 GB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.3944, allocations: 56.19 kB / 0.5167 GB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.3945, allocations: 18.98 kB / 0.5167 GB, free: 30.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.3947, allocations: 212 kB / 0.5169 GB, free: 29.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3947, allocations: 0 / 0.5169 GB, free: 29.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009786/0.3957, allocations: 276.1 kB / 0.5171 GB, free: 29.89 MB / 382.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.001646/0.3973, allocations: 1.782 MB / 0.5189 GB, free: 28.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.3989, allocations: 1.091 MB / 0.5199 GB, free: 27.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3989, allocations: 0 / 0.5199 GB, free: 27.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007612/0.3996, allocations: 0.7867 MB / 0.5207 GB, free: 27.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.4003, allocations: 42.03 kB / 0.5208 GB, free: 27.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.4076, allocations: 5.18 MB / 0.5258 GB, free: 23.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.4083, allocations: 0.9139 MB / 0.5267 GB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000307/0.4086, allocations: 67.08 kB / 0.5268 GB, free: 23.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4088, allocations: 230.5 kB / 0.527 GB, free: 22.92 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4088, allocations: 0 / 0.527 GB, free: 22.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/0.4541, allocations: 11.37 MB / 0.5381 GB, free: 19.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.554/10.01, allocations: 3.812 kB / 0.5381 GB, free: 19.13 MB / 382.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)