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/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.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/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 198.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009525/0.0009526, allocations: 96.98 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1866/0.1866, allocations: 45.15 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.06e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1162, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5452, allocations: 90.69 MB / 0.593 GB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.5455, allocations: 76.58 kB / 0.5931 GB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01831/0.5638, allocations: 7.038 MB / 0.6 GB, free: 5.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5639, allocations: 0 / 0.6 GB, free: 5.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.5639, allocations: 4 kB / 0.6 GB, free: 5.75 MB / 394.7 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.0008321/0.5647, allocations: 0.5365 MB / 0.6005 GB, free: 5.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5648, allocations: 12.03 kB / 0.6005 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.5649, allocations: 43.52 kB / 0.6005 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.5653, allocations: 283 kB / 0.6008 GB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.5654, allocations: 15.98 kB / 0.6008 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.5654, allocations: 12 kB / 0.6008 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003463/0.5657, allocations: 186.6 kB / 0.601 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.5661, allocations: 198.9 kB / 0.6012 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5661, allocations: 0 / 0.6012 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.5661, allocations: 0 / 0.6012 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.5662, allocations: 7.984 kB / 0.6012 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.5674, allocations: 0.8281 MB / 0.602 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.568, allocations: 312.4 kB / 0.6023 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.5682, allocations: 123.3 kB / 0.6024 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.5683, allocations: 4 kB / 0.6024 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.5683, allocations: 34.12 kB / 0.6025 GB, free: 3.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.5683, allocations: 0 / 0.6025 GB, free: 3.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.001638/0.5699, allocations: 488.4 kB / 0.6029 GB, free: 3.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.57, allocations: 55.41 kB / 0.603 GB, free: 3.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.5702, allocations: 189.7 kB / 0.6032 GB, free: 2.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.5702, allocations: 25.7 kB / 0.6032 GB, free: 2.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.5703, allocations: 163.4 kB / 0.6034 GB, free: 2.695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.5704, allocations: 108.4 kB / 0.6035 GB, free: 2.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.5704, allocations: 0 / 0.6035 GB, free: 2.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5705, allocations: 333.3 kB / 0.6038 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.5706, allocations: 75.12 kB / 0.6039 GB, free: 2.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.5708, allocations: 106.3 kB / 0.604 GB, free: 2.152 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.5709, allocations: 91.81 kB / 0.604 GB, free: 2.098 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5709, allocations: 0 / 0.604 GB, free: 2.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001546/0.5725, allocations: 0.4912 MB / 0.6045 GB, free: 1.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5725, allocations: 7.984 kB / 0.6045 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5725, allocations: 4 kB / 0.6045 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.574, allocations: 305.4 kB / 0.6048 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.5742, allocations: 27.97 kB / 0.6048 GB, free: 1.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006251/0.5805, allocations: 6.129 MB / 0.6108 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.5807, allocations: 31.67 kB / 0.6109 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.5808, allocations: 4 kB / 0.6109 GB, free: 11.34 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real 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 () * 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.0001942/0.581, allocations: 121.6 kB / 0.611 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001539/0.5825, allocations: 470.2 kB / 0.6114 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.5826, allocations: 31.58 kB / 0.6115 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.5842, allocations: 0.4948 MB / 0.6119 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5842, allocations: 4 kB / 0.612 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.5842, allocations: 3.984 kB / 0.612 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5842, allocations: 0 / 0.612 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.5846, allocations: 308.6 kB / 0.6122 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5846, allocations: 4 kB / 0.6123 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.5848, allocations: 20.61 kB / 0.6123 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.5862, allocations: 315.3 kB / 0.6126 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.5862, allocations: 0 / 0.6126 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00603/0.5923, allocations: 6.054 MB / 0.6185 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5923, allocations: 0 / 0.6185 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.5938, allocations: 0.5724 MB / 0.619 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-05/0.5939, allocations: 111.8 kB / 0.6192 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.594, allocations: 0 / 0.6192 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.5941, allocations: 15.98 kB / 0.6192 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.5943, allocations: 27.14 kB / 0.6192 GB, free: 3.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.5943, allocations: 10.56 kB / 0.6192 GB, free: 3.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.5944, allocations: 155.6 kB / 0.6194 GB, free: 3.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5944, allocations: 0 / 0.6194 GB, free: 3.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005102/0.5949, allocations: 111.8 kB / 0.6195 GB, free: 2.961 MB / 410.7 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 () * 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 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001854/0.5968, allocations: 1.114 MB / 0.6205 GB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009596/0.5978, allocations: 0.694 MB / 0.6212 GB, free: 1.258 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5978, allocations: 0 / 0.6212 GB, free: 1.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007685/0.5986, allocations: 0.6098 MB / 0.6218 GB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.5988, allocations: 11.06 kB / 0.6218 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00087/0.5997, allocations: 394 kB / 0.6222 GB, free: 288 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.6001, allocations: 0.7911 MB / 0.623 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.151e-05/0.6002, allocations: 18.06 kB / 0.623 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/0.6003, allocations: 79.84 kB / 0.6231 GB, free: 15.43 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6003, allocations: 0 / 0.6231 GB, free: 15.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.6304, allocations: 9.598 MB / 0.6324 GB, free: 5.895 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.6307, allocations: 156.6 kB / 0.6326 GB, free: 5.691 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.741, allocations: 1.547 kB / 0.6326 GB, free: 5.691 MB / 426.7 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