Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_trunk_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.001206/0.001206, allocations: 95.53 kB / 17.01 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 197.6 kB / 17.91 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002531/0.0002532, allocations: 11.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1203, allocations: 63.47 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004675/0.125, allocations: 4.527 MB / 486.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.128, allocations: 1.507 MB / 487.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.1283, allocations: 16 kB / 487.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.1288, allocations: 175 kB / 487.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006712/0.1295, allocations: 250.4 kB / 488.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009491/0.1305, allocations: 430.4 kB / 488.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008076/0.1313, allocations: 0.7346 MB / 489.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/0.1336, allocations: 1.287 MB / 490.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.1342, allocations: 282.9 kB / 490.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005048/0.1347, allocations: 386.4 kB / 491.2 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.886e-05/0.1348, allocations: 44 kB / 491.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.1352, allocations: 155.8 kB / 491.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1353, allocations: 127.5 kB / 491.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1355, allocations: 177.3 kB / 491.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009434/0.1364, allocations: 0.8921 MB / 492.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1365, allocations: 4 kB / 492.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1365, allocations: 0 / 492.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1365, allocations: 0 / 492.6 MB, free: 10.23 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.003013/0.1395, allocations: 1.213 MB / 493.8 MB, free: 8.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1396, allocations: 16.03 kB / 493.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.1398, allocations: 152.2 kB / 494 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.1412, allocations: 242.8 kB / 494.2 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1415, allocations: 258.5 kB / 494.5 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.1416, allocations: 74 kB / 494.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.1418, allocations: 100 kB / 494.6 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.1433, allocations: 0.9282 MB / 495.6 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.1434, allocations: 7.891 kB / 495.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/0.1435, allocations: 40 kB / 495.6 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.1435, allocations: 24 kB / 495.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.1447, allocations: 0.7221 MB / 496.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/0.1501, allocations: 4.119 MB / 0.4887 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.1531, allocations: 3.361 MB / 0.492 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.1536, allocations: 295.6 kB / 0.4923 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.1538, allocations: 186.5 kB / 0.4925 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1539, allocations: 42.89 kB / 0.4925 GB, free: 13.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 2.625e-06/0.1539, allocations: 0 / 0.4925 GB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.002766/0.1567, allocations: 1.329 MB / 0.4938 GB, free: 11.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.1567, allocations: 140.5 kB / 0.494 GB, free: 11.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.1572, allocations: 322.7 kB / 0.4943 GB, free: 11.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.1573, allocations: 33.7 kB / 0.4943 GB, free: 11.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.1575, allocations: 402.3 kB / 0.4947 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.1577, allocations: 228.7 kB / 0.4949 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.1577, allocations: 20 kB / 0.4949 GB, free: 10.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1579, allocations: 350.8 kB / 0.4953 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.1582, allocations: 201.9 kB / 0.4954 GB, free: 10.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/0.1587, allocations: 396.6 kB / 0.4958 GB, free: 9.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.1592, allocations: 256.7 kB / 0.4961 GB, free: 9.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1592, allocations: 4 kB / 0.4961 GB, free: 9.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001464/0.1607, allocations: 0.8785 MB / 0.4969 GB, free: 8.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.1607, allocations: 8 kB / 0.4969 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.1608, allocations: 8 kB / 0.4969 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.1614, allocations: 219.4 kB / 0.4972 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.1619, allocations: 135.8 kB / 0.4973 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005788/0.1677, allocations: 6.245 MB / 0.5034 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005691/0.1683, allocations: 99.12 kB / 0.5035 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.1683, allocations: 28 kB / 0.5035 GB, free: 1.242 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004149/0.1687, allocations: 217.7 kB / 0.5037 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.1689, allocations: 39.53 kB / 0.5037 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.1702, allocations: 0.6948 MB / 0.5044 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.1702, allocations: 11.98 kB / 0.5044 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1703, allocations: 4 kB / 0.5044 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.1703, allocations: 8.453 kB / 0.5045 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2675/0.4378, allocations: 1.552 MB / 0.506 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.4378, allocations: 4.344 kB / 0.506 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.4381, allocations: 70.75 kB / 0.506 GB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/0.4387, allocations: 212.4 kB / 0.5062 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.4388, allocations: 16.39 kB / 0.5063 GB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.4432, allocations: 6.213 MB / 0.5123 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4433, allocations: 1.703 kB / 0.5123 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.445, allocations: 1.19 MB / 0.5135 GB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.4451, allocations: 125.5 kB / 0.5136 GB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.4452, allocations: 11.59 kB / 0.5136 GB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.4455, allocations: 20.11 kB / 0.5136 GB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.4456, allocations: 57.78 kB / 0.5137 GB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.4456, allocations: 16.58 kB / 0.5137 GB, free: 27.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.4459, allocations: 213.9 kB / 0.5139 GB, free: 27.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4459, allocations: 0 / 0.5139 GB, free: 27.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001158/0.4471, allocations: 279.5 kB / 0.5142 GB, free: 27.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001884/0.449, allocations: 1.766 MB / 0.5159 GB, free: 26.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.4505, allocations: 1.078 MB / 0.517 GB, free: 26.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4505, allocations: 4.094 kB / 0.517 GB, free: 26.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.4513, allocations: 0.7737 MB / 0.5177 GB, free: 25.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.452, allocations: 43.67 kB / 0.5178 GB, free: 25.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.4566, allocations: 3.269 MB / 0.5209 GB, free: 24.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.457, allocations: 0.9097 MB / 0.5218 GB, free: 23.42 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.4574, allocations: 69.58 kB / 0.5219 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.4576, allocations: 230.9 kB / 0.5221 GB, free: 23.39 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4576, allocations: 1.25 kB / 0.5221 GB, free: 23.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.4851, allocations: 10.75 MB / 0.5326 GB, free: 20.83 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.4853, allocations: 234.7 kB / 0.5328 GB, free: 20.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.619, allocations: 2.672 kB / 0.5328 GB, free: 20.59 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat does not exist to compare? outputFormat=mat