Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001005, allocations: 98.42 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 192.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2607/0.2607, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 63.46 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.002565/0.1632, allocations: 2.086 MB / 483.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1644, allocations: 0.7794 MB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1646, allocations: 8 kB / 484.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.1647, allocations: 39.64 kB / 484.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.165, allocations: 99.42 kB / 484.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.1652, allocations: 59.92 kB / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.1656, allocations: 320.6 kB / 485 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1657, allocations: 81.12 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.166, allocations: 123.5 kB / 485.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.1661, allocations: 135.4 kB / 485.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.1662, allocations: 16 kB / 485.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.1663, allocations: 19.98 kB / 485.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.1663, allocations: 51.77 kB / 485.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.1664, allocations: 77.52 kB / 485.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1667, allocations: 275.5 kB / 485.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1667, allocations: 4 kB / 485.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1667, allocations: 0 / 485.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1667, allocations: 0 / 485.8 MB, free: 1.098 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009962/0.1677, allocations: 0.5922 MB / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1677, allocations: 8.031 kB / 486.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.577e-05/0.1678, allocations: 58.55 kB / 486.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.168, allocations: 39.61 kB / 486.5 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.1683, allocations: 257.5 kB / 486.7 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1683, allocations: 24.56 kB / 486.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.1684, allocations: 27.98 kB / 486.8 MB, free: 0 / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.1689, allocations: 244.9 kB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1689, allocations: 0 / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.169, allocations: 12 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.169, allocations: 7.984 kB / 487.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.1695, allocations: 250.1 kB / 487.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.1709, allocations: 0.8715 MB / 488.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.1715, allocations: 314.8 kB / 488.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.1718, allocations: 153.3 kB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.1719, allocations: 4 kB / 488.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1719, allocations: 38.45 kB / 488.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=31): time 1.824e-06/0.1719, allocations: 0 / 488.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=31): time 0.00406/0.176, allocations: 1.277 MB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.1761, allocations: 59.34 kB / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.1764, allocations: 225 kB / 490.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1764, allocations: 29.7 kB / 490.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1766, allocations: 173 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.185e-05/0.1767, allocations: 110.4 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.1767, allocations: 4 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.177, allocations: 338.8 kB / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.1772, allocations: 103.8 kB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.1774, allocations: 129.8 kB / 491.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.1777, allocations: 114.2 kB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1777, allocations: 0 / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001621/0.1793, allocations: 0.5531 MB / 491.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1794, allocations: 4 kB / 491.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1794, allocations: 4 kB / 491.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.1809, allocations: 319.1 kB / 492.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.181, allocations: 31.92 kB / 492.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007041/0.1881, allocations: 6.325 MB / 498.4 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.1884, allocations: 35.7 kB / 498.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.1884, allocations: 8.25 kB / 498.5 MB, free: 3.512 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.1886, allocations: 141.8 kB / 498.6 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.1886, allocations: 23.72 kB / 498.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.1903, allocations: 0.5707 MB / 499.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1903, allocations: 8 kB / 499.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.1903, allocations: 0 / 499.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1903, allocations: 0 / 499.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.1907, allocations: 361.2 kB / 499.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1908, allocations: 3.984 kB / 499.6 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1909, allocations: 23.92 kB / 499.6 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.1923, allocations: 315.1 kB / 499.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1923, allocations: 8 kB / 499.9 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006479/0.1988, allocations: 6.366 MB / 0.4944 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1989, allocations: 4.094 kB / 0.4944 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.2005, allocations: 0.6348 MB / 0.495 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.2006, allocations: 104.8 kB / 0.4951 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.2006, allocations: 4 kB / 0.4951 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.2008, allocations: 15.98 kB / 0.4952 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/0.2009, allocations: 35.91 kB / 0.4952 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.2009, allocations: 8.25 kB / 0.4952 GB, free: 10.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.2011, allocations: 170 kB / 0.4954 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2011, allocations: 0 / 0.4954 GB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005079/0.2016, allocations: 123.8 kB / 0.4955 GB, free: 9.949 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * 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: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/0.2035, allocations: 1.184 MB / 0.4966 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009969/0.2045, allocations: 0.7408 MB / 0.4974 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2045, allocations: 0 / 0.4974 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.2056, allocations: 0.725 MB / 0.4981 GB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.2059, allocations: 28.5 kB / 0.4981 GB, free: 7.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.2095, allocations: 1.877 MB / 0.4999 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.2099, allocations: 0.7756 MB / 0.5007 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.092e-05/0.2099, allocations: 9.953 kB / 0.5007 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.21, allocations: 79.47 kB / 0.5008 GB, free: 4.289 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2101, allocations: 0 / 0.5008 GB, free: 4.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2521/0.4621, allocations: 9.823 MB / 0.5104 GB, free: 38.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.4623, allocations: 217.5 kB / 0.5106 GB, free: 38.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.703, allocations: 7.312 kB / 0.5106 GB, free: 38.75 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat