Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 197.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.44/1.44, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001148, allocations: 91.03 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.759e-05, allocations: 4 kB / 343.8 MB, free: 8.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 51.48 MB / 395.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/0.4835, allocations: 83.77 MB / 479 MB, free: 9.371 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.4838, allocations: 83.86 kB / 479.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0665/0.5503, allocations: 20.54 MB / 499.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5504, allocations: 0 / 499.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.5504, allocations: 8 kB / 499.7 MB, free: 9.02 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004043/0.5545, allocations: 0.9679 MB / 0.4889 GB, free: 8.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.5546, allocations: 8.031 kB / 0.4889 GB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.5566, allocations: 181.9 kB / 0.4891 GB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.557, allocations: 238 kB / 0.4893 GB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.557, allocations: 20.86 kB / 0.4893 GB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.5572, allocations: 40 kB / 0.4894 GB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/0.5586, allocations: 0.5086 MB / 0.4899 GB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.56, allocations: 0.5766 MB / 0.4904 GB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.5601, allocations: 3.984 kB / 0.4904 GB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.5602, allocations: 4 kB / 0.4904 GB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.5602, allocations: 16 kB / 0.4905 GB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004722/0.5649, allocations: 2.234 MB / 0.4926 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.5675, allocations: 1.608 MB / 0.4942 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.5681, allocations: 219.8 kB / 0.4944 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.5684, allocations: 178.8 kB / 0.4946 GB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.5685, allocations: 47.11 kB / 0.4946 GB, free: 2.484 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.687e-06/0.5685, allocations: 0 / 0.4946 GB, free: 2.484 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.002896/0.5714, allocations: 0.6039 MB / 0.4952 GB, free: 1.875 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.5715, allocations: 115.4 kB / 0.4953 GB, free: 1.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.5718, allocations: 211.7 kB / 0.4955 GB, free: 1.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.5719, allocations: 25.7 kB / 0.4956 GB, free: 1.488 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.5721, allocations: 271.9 kB / 0.4958 GB, free: 1.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.5723, allocations: 212.8 kB / 0.496 GB, free: 1.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.5724, allocations: 0 / 0.496 GB, free: 1.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5726, allocations: 346.8 kB / 0.4964 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/0.573, allocations: 161.6 kB / 0.4965 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.5735, allocations: 257.8 kB / 0.4968 GB, free: 224 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.5756, allocations: 406 kB / 0.4971 GB, free: 15.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5756, allocations: 0 / 0.4971 GB, free: 15.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002851/0.5785, allocations: 0.7066 MB / 0.4978 GB, free: 15.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.5786, allocations: 12.19 kB / 0.4978 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5786, allocations: 0 / 0.4978 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.5786, allocations: 4 kB / 0.4978 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.5797, allocations: 167.8 kB / 0.498 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5797, allocations: 4 kB / 0.498 GB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006769/0.5804, allocations: 71.3 kB / 0.4981 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/0.5805, allocations: 23.98 kB / 0.4981 GB, free: 14.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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 0.0001719/0.5806, allocations: 122 kB / 0.4982 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002727/0.5834, allocations: 0.6078 MB / 0.4988 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5835, allocations: 31.62 kB / 0.4988 GB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.5865, allocations: 0.6867 MB / 0.4995 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.5865, allocations: 15.94 kB / 0.4995 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.5865, allocations: 0 / 0.4995 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5866, allocations: 0 / 0.4995 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.5906, allocations: 1.277 MB / 0.5008 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.5907, allocations: 13.86 kB / 0.5008 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/0.5915, allocations: 127.9 kB / 0.5009 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.5916, allocations: 7.938 kB / 0.5009 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.5916, allocations: 4 kB / 0.5009 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.5916, allocations: 3.516 kB / 0.5009 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5917, allocations: 4 kB / 0.5009 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/0.595, allocations: 1.047 MB / 0.5019 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.5952, allocations: 124.5 kB / 0.5021 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.5953, allocations: 0 / 0.5021 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.5959, allocations: 28.03 kB / 0.5021 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.596, allocations: 40.5 kB / 0.5021 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.5961, allocations: 16 kB / 0.5021 GB, free: 10.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.5963, allocations: 168.5 kB / 0.5023 GB, free: 10.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5964, allocations: 0 / 0.5023 GB, free: 10.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009906/0.5973, allocations: 175.4 kB / 0.5025 GB, free: 10.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.003764/0.6011, allocations: 1.711 MB / 0.5041 GB, free: 8.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.6023, allocations: 458.2 kB / 0.5046 GB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6023, allocations: 0 / 0.5046 GB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004988/0.6029, allocations: 226 kB / 0.5048 GB, free: 7.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.6034, allocations: 37.39 kB / 0.5048 GB, free: 7.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.6066, allocations: 0.8501 MB / 0.5057 GB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.6072, allocations: 0.8614 MB / 0.5065 GB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007479/0.6079, allocations: 79.28 kB / 0.5066 GB, free: 5.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/0.6084, allocations: 195.3 kB / 0.5068 GB, free: 5.77 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6084, allocations: 0 / 0.5068 GB, free: 5.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.6436, allocations: 7.858 MB / 0.5144 GB, free: 13.99 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/0.644, allocations: 174.1 kB / 0.5146 GB, free: 13.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.819, allocations: 0 / 0.5146 GB, free: 13.8 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat