Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 197.1 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.261/1.261, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008186/0.0008186, allocations: 88.28 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1713/0.1713, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.29e-05, allocations: 0 / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08515, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3222/0.4074, allocations: 92.89 MB / 0.6022 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.4076, allocations: 83.38 kB / 0.6023 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01477/0.4224, allocations: 5.849 MB / 0.608 GB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4224, allocations: 0 / 0.608 GB, free: 11.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.4225, allocations: 12 kB / 0.608 GB, free: 11.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009024/0.4234, allocations: 0.6107 MB / 0.6086 GB, free: 11.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4234, allocations: 11.97 kB / 0.6086 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.984e-05/0.4235, allocations: 77.97 kB / 0.6087 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.4237, allocations: 63.72 kB / 0.6087 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.424, allocations: 275.9 kB / 0.609 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.4241, allocations: 29.97 kB / 0.609 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.4241, allocations: 45.16 kB / 0.6091 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.4246, allocations: 314 kB / 0.6094 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4247, allocations: 0 / 0.6094 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.01e-05/0.4247, allocations: 14.25 kB / 0.6094 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4247, allocations: 12 kB / 0.6094 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.4252, allocations: 273 kB / 0.6096 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.4271, allocations: 1.356 MB / 0.611 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.4275, allocations: 256 kB / 0.6112 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.4277, allocations: 143.5 kB / 0.6113 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.4277, allocations: 4.281 kB / 0.6113 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.4278, allocations: 41.7 kB / 0.6114 GB, free: 8.855 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.422e-06/0.4278, allocations: 0 / 0.6114 GB, free: 8.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004294/0.4282, allocations: 252 kB / 0.6116 GB, free: 8.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4282, allocations: 59.41 kB / 0.6117 GB, free: 8.594 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.4285, allocations: 231.9 kB / 0.6119 GB, free: 8.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4285, allocations: 29.08 kB / 0.6119 GB, free: 8.371 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.4286, allocations: 207.7 kB / 0.6121 GB, free: 8.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.4287, allocations: 120.7 kB / 0.6122 GB, free: 8.098 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.472e-05/0.4287, allocations: 3.375 kB / 0.6122 GB, free: 8.098 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4288, allocations: 347.8 kB / 0.6126 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.429, allocations: 90.44 kB / 0.6127 GB, free: 7.707 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.4292, allocations: 160.2 kB / 0.6128 GB, free: 7.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.4294, allocations: 107.1 kB / 0.6129 GB, free: 7.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4294, allocations: 0 / 0.6129 GB, free: 7.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004655/0.4298, allocations: 332.3 kB / 0.6132 GB, free: 7.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4299, allocations: 8.781 kB / 0.6132 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4299, allocations: 3.984 kB / 0.6132 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4299, allocations: 7.984 kB / 0.6133 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.4303, allocations: 107.3 kB / 0.6134 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4304, allocations: 7.938 kB / 0.6134 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.4306, allocations: 38.42 kB / 0.6134 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.4306, allocations: 12 kB / 0.6134 GB, free: 7.066 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.584e-05/0.4307, allocations: 132.4 kB / 0.6135 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.4308, allocations: 31.62 kB / 0.6136 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.4313, allocations: 306.3 kB / 0.6139 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.4313, allocations: 7.938 kB / 0.6139 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4313, allocations: 3.938 kB / 0.6139 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4313, allocations: 0 / 0.6139 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.4317, allocations: 405 kB / 0.6143 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4317, allocations: 0 / 0.6143 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.4321, allocations: 83.38 kB / 0.6143 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.4321, allocations: 4 kB / 0.6143 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.4321, allocations: 10.31 kB / 0.6144 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4321, allocations: 4 kB / 0.6144 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4322, allocations: 4 kB / 0.6144 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.4327, allocations: 487.5 kB / 0.6148 GB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.4329, allocations: 127.2 kB / 0.6149 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.4329, allocations: 11.17 kB / 0.615 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.4331, allocations: 11.88 kB / 0.615 GB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.4332, allocations: 24.03 kB / 0.615 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.4332, allocations: 11.61 kB / 0.615 GB, free: 5.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.4334, allocations: 188.2 kB / 0.6152 GB, free: 5.512 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4334, allocations: 0 / 0.6152 GB, free: 5.512 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002933/0.4337, allocations: 93.84 kB / 0.6153 GB, free: 5.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008116/0.4345, allocations: 1.026 MB / 0.6163 GB, free: 4.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003858/0.4349, allocations: 245.2 kB / 0.6165 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4349, allocations: 0 / 0.6165 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.4351, allocations: 123.7 kB / 0.6166 GB, free: 4.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.4353, allocations: 29.55 kB / 0.6167 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.4364, allocations: 0.6158 MB / 0.6173 GB, free: 3.633 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4368, allocations: 0.7874 MB / 0.618 GB, free: 2.816 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.437, allocations: 38.94 kB / 0.6181 GB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.4371, allocations: 108.6 kB / 0.6182 GB, free: 2.742 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4371, allocations: 0 / 0.6182 GB, free: 2.742 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.4523, allocations: 5.17 MB / 0.6232 GB, free: 13.72 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.4525, allocations: 155.8 kB / 0.6234 GB, free: 13.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.276, allocations: 0 / 0.6234 GB, free: 13.5 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat does not exist to compare? outputFormat=mat