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.001736/0.001736, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.218/0.218, allocations: 46.11 MB / 344.2 MB, free: 11.56 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.002155/0.002155, allocations: 80.5 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1116, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007072/0.1187, allocations: 5.335 MB / 485.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.1216, allocations: 1.646 MB / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1219, allocations: 20 kB / 487.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003318/0.1252, allocations: 1.59 MB / 488.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007382/0.1259, allocations: 309.6 kB / 489.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.127, allocations: 0.516 MB / 489.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009454/0.1279, allocations: 0.7893 MB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.1292, allocations: 0.7409 MB / 491.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005324/0.1297, allocations: 346.7 kB / 491.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005666/0.1303, allocations: 458.2 kB / 491.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.1304, allocations: 76 kB / 492 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.1309, allocations: 195.9 kB / 492.2 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.1311, allocations: 175.4 kB / 492.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.1315, allocations: 433.9 kB / 492.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.1327, allocations: 1.152 MB / 494 MB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1328, allocations: 0 / 494 MB, free: 7.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1328, allocations: 4 kB / 494 MB, free: 7.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1328, allocations: 0 / 494 MB, free: 7.312 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.003341/0.1361, allocations: 1.354 MB / 495.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1362, allocations: 12.03 kB / 495.3 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/0.1364, allocations: 152.4 kB / 495.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.1379, allocations: 223.8 kB / 495.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1382, allocations: 270.7 kB / 496 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.1384, allocations: 78.31 kB / 496 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.1386, allocations: 103.9 kB / 496.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.1402, allocations: 0.9398 MB / 497.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.1403, allocations: 7.984 kB / 497.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.961e-05/0.1404, allocations: 44 kB / 497.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.1404, allocations: 24 kB / 497.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.1418, allocations: 0.7299 MB / 497.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005904/0.1477, allocations: 4.114 MB / 0.4902 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/0.1507, allocations: 3.38 MB / 0.4935 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.1512, allocations: 295.2 kB / 0.4938 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.1514, allocations: 182.5 kB / 0.494 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1514, allocations: 42.88 kB / 0.494 GB, free: 10.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.535e-06/0.1514, allocations: 0 / 0.494 GB, free: 10.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002758/0.1542, allocations: 1.33 MB / 0.4953 GB, free: 8.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.719e-05/0.1543, allocations: 140.5 kB / 0.4955 GB, free: 8.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.1547, allocations: 322.7 kB / 0.4958 GB, free: 8.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.1548, allocations: 33.7 kB / 0.4958 GB, free: 8.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.1551, allocations: 398.4 kB / 0.4962 GB, free: 7.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.1553, allocations: 228.7 kB / 0.4964 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.1555, allocations: 146.6 kB / 0.4965 GB, free: 7.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1557, allocations: 358.7 kB / 0.4969 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.156, allocations: 197.9 kB / 0.4971 GB, free: 6.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.1566, allocations: 400.6 kB / 0.4974 GB, free: 6.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.1575, allocations: 0.6219 MB / 0.4981 GB, free: 5.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.1575, allocations: 4 kB / 0.4981 GB, free: 5.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001586/0.1591, allocations: 0.8928 MB / 0.4989 GB, free: 4.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1592, allocations: 14.48 kB / 0.4989 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.1592, allocations: 8.5 kB / 0.4989 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/0.1598, allocations: 219.2 kB / 0.4992 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.1603, allocations: 147.7 kB / 0.4993 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1926/0.353, allocations: 6.698 MB / 0.5058 GB, free: 38.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.3535, allocations: 92.75 kB / 0.5059 GB, free: 38.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.387e-05/0.3536, allocations: 35.75 kB / 0.506 GB, free: 38.4 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.0002947/0.3539, allocations: 218.8 kB / 0.5062 GB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3541, allocations: 40.14 kB / 0.5062 GB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.3553, allocations: 0.6931 MB / 0.5069 GB, free: 38.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3553, allocations: 11.25 kB / 0.5069 GB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.3554, allocations: 5.062 kB / 0.5069 GB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.3554, allocations: 8.875 kB / 0.5069 GB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.3578, allocations: 1.567 MB / 0.5084 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3578, allocations: 1.188 kB / 0.5084 GB, free: 37.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.3581, allocations: 74.69 kB / 0.5085 GB, free: 37.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005495/0.3586, allocations: 215.6 kB / 0.5087 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.3587, allocations: 18.78 kB / 0.5087 GB, free: 37.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004524/0.3632, allocations: 6.704 MB / 0.5153 GB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3632, allocations: 1.125 kB / 0.5153 GB, free: 31.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.3646, allocations: 1.186 MB / 0.5164 GB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.3648, allocations: 129.4 kB / 0.5166 GB, free: 30.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.3648, allocations: 16.05 kB / 0.5166 GB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.3652, allocations: 14.45 kB / 0.5166 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3653, allocations: 58.72 kB / 0.5167 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.3653, allocations: 18.75 kB / 0.5167 GB, free: 30.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.3656, allocations: 216.1 kB / 0.5169 GB, free: 30.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3656, allocations: 0 / 0.5169 GB, free: 30.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001111/0.3667, allocations: 275 kB / 0.5171 GB, free: 30.14 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.001629/0.3684, allocations: 1.782 MB / 0.5189 GB, free: 28.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.3699, allocations: 1.096 MB / 0.5199 GB, free: 28.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3699, allocations: 1.094 kB / 0.5199 GB, free: 28.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.3706, allocations: 0.788 MB / 0.5207 GB, free: 27.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.3712, allocations: 47.19 kB / 0.5208 GB, free: 27.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006284/0.3775, allocations: 5.182 MB / 0.5258 GB, free: 24.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.3779, allocations: 0.9105 MB / 0.5267 GB, free: 23.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.3782, allocations: 65.5 kB / 0.5268 GB, free: 23.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.3784, allocations: 235.1 kB / 0.527 GB, free: 23.15 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3784, allocations: 0 / 0.527 GB, free: 23.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0467/0.4251, allocations: 11.36 MB / 0.5381 GB, free: 19.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.96/9.385, allocations: 448 / 0.5381 GB, free: 19.34 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 & /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)