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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001914/0.001914, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008584/0.0008588, allocations: 86.81 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1669/0.1669, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.489e-05/2.491e-05, allocations: 0 / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09343, allocations: 63.24 MB / 0.5115 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.441, allocations: 94.16 MB / 0.6034 GB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.4413, allocations: 83.08 kB / 0.6035 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05831/0.4996, allocations: 28.67 MB / 0.6315 GB, free: 8.461 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4996, allocations: 3.984 kB / 0.6315 GB, free: 8.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.739e-05/0.4997, allocations: 19.94 kB / 0.6315 GB, free: 8.438 MB / 426.7 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.002138/0.5018, allocations: 1.046 MB / 0.6325 GB, free: 7.441 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5018, allocations: 15.97 kB / 0.6325 GB, free: 7.426 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001451/0.502, allocations: 155.9 kB / 0.6327 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.5034, allocations: 247 kB / 0.6329 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.5036, allocations: 254.6 kB / 0.6332 GB, free: 6.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.5037, allocations: 82.05 kB / 0.6332 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.5039, allocations: 102.2 kB / 0.6333 GB, free: 6.703 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.5052, allocations: 0.8984 MB / 0.6342 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.5052, allocations: 0 / 0.6342 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.5053, allocations: 40.38 kB / 0.6343 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.5053, allocations: 24 kB / 0.6343 GB, free: 6.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.5063, allocations: 0.6916 MB / 0.635 GB, free: 5.605 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.5104, allocations: 4.117 MB / 0.639 GB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.5125, allocations: 3.369 MB / 0.6423 GB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.5129, allocations: 285.7 kB / 0.6425 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.513, allocations: 178.2 kB / 0.6427 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.513, allocations: 42.09 kB / 0.6428 GB, free: 13.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 2.033e-06/0.5131, allocations: 0 / 0.6428 GB, free: 13.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.001042/0.5141, allocations: 0.6145 MB / 0.6434 GB, free: 13.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.5142, allocations: 136.5 kB / 0.6435 GB, free: 13.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.5144, allocations: 282.5 kB / 0.6438 GB, free: 12.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.5145, allocations: 39.2 kB / 0.6438 GB, free: 12.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.5147, allocations: 404.8 kB / 0.6442 GB, free: 12.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.5148, allocations: 233 kB / 0.6444 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.5149, allocations: 13.31 kB / 0.6444 GB, free: 12.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.515, allocations: 351.4 kB / 0.6447 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.5153, allocations: 187.1 kB / 0.6449 GB, free: 11.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.5157, allocations: 381.4 kB / 0.6453 GB, free: 11.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.516, allocations: 252.7 kB / 0.6455 GB, free: 11.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.516, allocations: 4 kB / 0.6455 GB, free: 11.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001215/0.5172, allocations: 0.8505 MB / 0.6464 GB, free: 10.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5173, allocations: 8 kB / 0.6464 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5173, allocations: 8 kB / 0.6464 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.5178, allocations: 229 kB / 0.6466 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.5183, allocations: 135.7 kB / 0.6467 GB, free: 10.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.5228, allocations: 6.204 MB / 0.6528 GB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/0.5233, allocations: 91.06 kB / 0.6529 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.5233, allocations: 35.97 kB / 0.6529 GB, free: 3.566 MB / 442.7 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 () * 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.0001251/0.5235, allocations: 152.9 kB / 0.653 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5236, allocations: 39.53 kB / 0.6531 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.5247, allocations: 0.6824 MB / 0.6538 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.5247, allocations: 4 kB / 0.6538 GB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5247, allocations: 8 kB / 0.6538 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5247, allocations: 7.984 kB / 0.6538 GB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.5268, allocations: 1.555 MB / 0.6553 GB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5268, allocations: 3.953 kB / 0.6553 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.5271, allocations: 59.92 kB / 0.6554 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/0.5276, allocations: 219.2 kB / 0.6556 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.5276, allocations: 16 kB / 0.6556 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/0.5319, allocations: 6.19 MB / 0.6616 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5319, allocations: 3.938 kB / 0.6616 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.5333, allocations: 1.199 MB / 0.6628 GB, free: 8.746 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.5334, allocations: 132.4 kB / 0.6629 GB, free: 8.598 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.5334, allocations: 12 kB / 0.6629 GB, free: 8.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.5337, allocations: 16 kB / 0.6629 GB, free: 8.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/0.5338, allocations: 63.88 kB / 0.663 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.5339, allocations: 16 kB / 0.663 GB, free: 8.492 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.5341, allocations: 207.1 kB / 0.6632 GB, free: 8.289 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5341, allocations: 480 / 0.6632 GB, free: 8.289 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009231/0.535, allocations: 283.2 kB / 0.6635 GB, free: 8.012 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.001711/0.5367, allocations: 2.012 MB / 0.6655 GB, free: 5.949 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.538, allocations: 1.044 MB / 0.6665 GB, free: 4.852 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.538, allocations: 5 kB / 0.6665 GB, free: 4.848 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007288/0.5387, allocations: 0.7673 MB / 0.6672 GB, free: 4.027 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.5391, allocations: 38.88 kB / 0.6673 GB, free: 3.992 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.5411, allocations: 1.112 MB / 0.6684 GB, free: 2.828 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.5415, allocations: 0.9229 MB / 0.6693 GB, free: 1.875 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002719/0.5418, allocations: 68.53 kB / 0.6693 GB, free: 1.805 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.5421, allocations: 235.3 kB / 0.6695 GB, free: 1.574 MB / 458.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5421, allocations: 0 / 0.6695 GB, free: 1.574 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.5654, allocations: 11.03 MB / 0.6803 GB, free: 6.758 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.5656, allocations: 198.2 kB / 0.6805 GB, free: 6.531 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.531, allocations: 0 / 0.6805 GB, free: 6.531 MB / 474.7 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