Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_cpp_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 3.2.3+maint.om/package.mo): time 0.002132/0.002132, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.001099, allocations: 86.56 kB / 262.1 MB, free: 13.85 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.869e-05, allocations: 0 / 314.9 MB, free: 9.027 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3849, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.5218, allocations: 81.98 MB / 444.4 MB, free: 4.207 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.5222, allocations: 84.78 kB / 444.5 MB, free: 4.125 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07733/0.5996, allocations: 19.25 MB / 463.8 MB, free: 0.7109 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5996, allocations: 0 / 463.8 MB, free: 0.7109 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.682e-05/0.5997, allocations: 12 kB / 463.8 MB, free: 0.6992 MB / 347.1 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.004479/0.6042, allocations: 0.9482 MB / 464.7 MB, free: 15.71 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.6043, allocations: 12.03 kB / 464.7 MB, free: 15.7 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.6061, allocations: 175.1 kB / 464.9 MB, free: 15.52 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.6065, allocations: 227 kB / 465.1 MB, free: 15.26 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.6065, allocations: 21.03 kB / 465.2 MB, free: 15.24 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.6068, allocations: 51.89 kB / 465.2 MB, free: 15.19 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001651/0.6084, allocations: 0.5116 MB / 465.7 MB, free: 14.68 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.61, allocations: 0.5641 MB / 466.3 MB, free: 14.1 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.6101, allocations: 0 / 466.3 MB, free: 14.1 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.344e-05/0.6102, allocations: 0 / 466.3 MB, free: 14.1 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.6103, allocations: 16 kB / 466.3 MB, free: 14.09 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/0.6162, allocations: 2.23 MB / 468.5 MB, free: 11.73 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.6194, allocations: 1.61 MB / 470.1 MB, free: 9.891 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006512/0.6201, allocations: 223.8 kB / 470.4 MB, free: 9.664 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.6203, allocations: 103.9 kB / 470.5 MB, free: 9.547 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.6204, allocations: 39.12 kB / 470.5 MB, free: 9.5 MB / 363.1 MB Notification: Performance of pre-optimization done (n=66): time 3.697e-06/0.6204, allocations: 0 / 470.5 MB, free: 9.5 MB / 363.1 MB Notification: Performance of matching and sorting (n=66): time 0.002205/0.6226, allocations: 0.5298 MB / 471 MB, free: 8.965 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.6228, allocations: 111.4 kB / 471.1 MB, free: 8.832 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.6232, allocations: 218.9 kB / 471.3 MB, free: 8.609 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.6232, allocations: 25.7 kB / 471.4 MB, free: 8.578 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.6235, allocations: 326.3 kB / 471.7 MB, free: 8.254 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/0.6238, allocations: 216.8 kB / 471.9 MB, free: 8.039 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.6238, allocations: 0 / 471.9 MB, free: 8.039 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.624, allocations: 334.8 kB / 472.2 MB, free: 7.703 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.6246, allocations: 169.5 kB / 472.4 MB, free: 7.535 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007789/0.6253, allocations: 253.9 kB / 472.6 MB, free: 7.266 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.6268, allocations: 316.3 kB / 472.9 MB, free: 6.957 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.6268, allocations: 0 / 472.9 MB, free: 6.957 MB / 363.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002327/0.6292, allocations: 0.6287 MB / 473.6 MB, free: 6.32 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.6292, allocations: 8 kB / 473.6 MB, free: 6.312 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6293, allocations: 0 / 473.6 MB, free: 6.312 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.6293, allocations: 4 kB / 473.6 MB, free: 6.309 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.6308, allocations: 163.7 kB / 473.7 MB, free: 6.148 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.6308, allocations: 8 kB / 473.8 MB, free: 6.141 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/0.6317, allocations: 71.48 kB / 473.8 MB, free: 6.07 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/0.6318, allocations: 24 kB / 473.9 MB, free: 6.047 MB / 363.1 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.0002205/0.632, allocations: 116.8 kB / 474 MB, free: 5.926 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002142/0.6342, allocations: 0.5332 MB / 474.5 MB, free: 5.391 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.6344, allocations: 35.62 kB / 474.5 MB, free: 5.355 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/0.6367, allocations: 0.601 MB / 475.1 MB, free: 4.746 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.6367, allocations: 11.94 kB / 475.1 MB, free: 4.734 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.6368, allocations: 4 kB / 475.1 MB, free: 4.73 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.6368, allocations: 4 kB / 475.2 MB, free: 4.727 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.6405, allocations: 1.199 MB / 476.4 MB, free: 3.48 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.6406, allocations: 3.953 kB / 476.4 MB, free: 3.477 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.6418, allocations: 135.8 kB / 476.5 MB, free: 3.344 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/0.6419, allocations: 4 kB / 476.5 MB, free: 3.34 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.6419, allocations: 8 kB / 476.5 MB, free: 3.332 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.642, allocations: 4 kB / 476.5 MB, free: 3.328 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.642, allocations: 0 / 476.5 MB, free: 3.328 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.6448, allocations: 0.9687 MB / 477.5 MB, free: 2.34 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.6451, allocations: 120.6 kB / 477.6 MB, free: 2.203 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/0.6452, allocations: 0 / 477.6 MB, free: 2.203 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/0.6459, allocations: 28.03 kB / 477.6 MB, free: 2.176 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.6461, allocations: 44.5 kB / 477.7 MB, free: 2.133 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.6462, allocations: 16 kB / 477.7 MB, free: 2.117 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.00027/0.6465, allocations: 168.5 kB / 477.8 MB, free: 1.949 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6465, allocations: 0 / 477.8 MB, free: 1.949 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0009209/0.6474, allocations: 167.4 kB / 478 MB, free: 1.785 MB / 363.1 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.003426/0.6508, allocations: 1.618 MB / 479.6 MB, free: 140 kB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.6523, allocations: 454.2 kB / 480.1 MB, free: 15.69 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6523, allocations: 0 / 480.1 MB, free: 15.69 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.653, allocations: 230.4 kB / 480.3 MB, free: 15.46 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.6536, allocations: 34.08 kB / 480.3 MB, free: 15.43 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.6572, allocations: 0.8693 MB / 481.2 MB, free: 14.52 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/0.6579, allocations: 0.8536 MB / 482 MB, free: 13.64 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/0.6585, allocations: 199 kB / 482.2 MB, free: 13.45 MB / 379.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6585, allocations: 0 / 482.2 MB, free: 13.45 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.53/3.189, allocations: 8.701 MB / 490.9 MB, free: 4.766 MB / 379.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat