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.002158/0.002162, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001152, allocations: 98.84 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004026, allocations: 8 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.0979, allocations: 47.57 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005707/0.1037, allocations: 3.296 MB / 377.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.1074, allocations: 1.528 MB / 379.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.1077, allocations: 11.94 kB / 379.5 MB, free: 10.47 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.1083, allocations: 179 kB / 379.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006747/0.109, allocations: 215.4 kB / 379.9 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.111, allocations: 0.6387 MB / 380.5 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007763/0.1118, allocations: 427.1 kB / 380.9 MB, free: 9.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/0.1139, allocations: 0.8062 MB / 381.7 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.1144, allocations: 231.1 kB / 382 MB, free: 7.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.1149, allocations: 274.9 kB / 382.2 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.42e-05/0.115, allocations: 28 kB / 382.3 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007311/0.1158, allocations: 203.8 kB / 382.5 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1159, allocations: 107.6 kB / 382.6 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1161, allocations: 129.4 kB / 382.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1172, allocations: 0.6702 MB / 383.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1172, allocations: 0 / 383.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1172, allocations: 0 / 383.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1172, allocations: 3.938 kB / 383.4 MB, free: 6.559 MB / 282.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.005168/0.1224, allocations: 1.104 MB / 384.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1225, allocations: 11.97 kB / 384.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.1227, allocations: 114.5 kB / 384.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.1243, allocations: 179.1 kB / 384.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1246, allocations: 235 kB / 385 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/0.1247, allocations: 46 kB / 385 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.1248, allocations: 68 kB / 385.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.1269, allocations: 0.7035 MB / 385.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.127, allocations: 3.906 kB / 385.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/0.1271, allocations: 28 kB / 385.8 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.491e-05/0.1271, allocations: 16 kB / 385.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.1293, allocations: 0.6179 MB / 386.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00539/0.1347, allocations: 2.336 MB / 388.8 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2555/0.3903, allocations: 1.68 MB / 390.5 MB, free: 19.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.3905, allocations: 95.28 kB / 390.6 MB, free: 18.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3905, allocations: 40.14 kB / 390.6 MB, free: 18.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=66): time 3.737e-06/0.3905, allocations: 4.281 kB / 390.6 MB, free: 18.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=66): time 0.002977/0.3935, allocations: 0.7265 MB / 391.3 MB, free: 18.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.3936, allocations: 111.4 kB / 391.5 MB, free: 18.74 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.3941, allocations: 260.6 kB / 391.7 MB, free: 18.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.3941, allocations: 36.77 kB / 391.7 MB, free: 18.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.3943, allocations: 323.5 kB / 392.1 MB, free: 18.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.3946, allocations: 225.5 kB / 392.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.3946, allocations: 13.5 kB / 392.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.3947, allocations: 335.2 kB / 392.6 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008646/0.3956, allocations: 222.7 kB / 392.8 MB, free: 17.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009199/0.3965, allocations: 306.7 kB / 393.1 MB, free: 17.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.3975, allocations: 255.9 kB / 393.4 MB, free: 17.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3975, allocations: 1.594 kB / 393.4 MB, free: 17.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002146/0.3997, allocations: 0.6407 MB / 394 MB, free: 17.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3997, allocations: 5.406 kB / 394 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3998, allocations: 4.891 kB / 394 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.3998, allocations: 6.312 kB / 394 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.4012, allocations: 159.8 kB / 394.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.4012, allocations: 14.31 kB / 394.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/0.4021, allocations: 76.97 kB / 394.3 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/0.4022, allocations: 24.28 kB / 394.3 MB, free: 17.5 MB / 282.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 () * Number of clocked 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.000328/0.4025, allocations: 188.8 kB / 394.5 MB, free: 17.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.4027, allocations: 34.69 kB / 394.5 MB, free: 17.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.4049, allocations: 0.6279 MB / 395.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.4049, allocations: 11.33 kB / 395.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.405, allocations: 0 / 395.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.405, allocations: 4.109 kB / 395.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.4085, allocations: 1.324 MB / 396.5 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4086, allocations: 1.25 kB / 396.5 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/0.4097, allocations: 128.9 kB / 396.6 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.4098, allocations: 2.953 kB / 396.6 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.4098, allocations: 14.98 kB / 396.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.4099, allocations: 2.156 kB / 396.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4099, allocations: 5.75 kB / 396.7 MB, free: 16.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.4128, allocations: 1.007 MB / 397.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.413, allocations: 124.7 kB / 397.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.941e-05/0.4132, allocations: 12.34 kB / 397.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007102/0.4139, allocations: 39.17 kB / 397.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.4141, allocations: 39.38 kB / 397.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.4141, allocations: 20.09 kB / 397.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.4144, allocations: 188.7 kB / 398.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4144, allocations: 0 / 398.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008662/0.4153, allocations: 173.1 kB / 398.2 MB, free: 15.47 MB / 282.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 () * Number of clocked 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.003396/0.4187, allocations: 1.666 MB / 399.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.4208, allocations: 0.5527 MB / 400.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.4209, allocations: 0 / 400.5 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009741/0.4219, allocations: 288.1 kB / 400.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.4224, allocations: 37.8 kB / 400.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008382/0.4308, allocations: 3.702 MB / 404.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.4313, allocations: 0.8564 MB / 405.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.4319, allocations: 195.1 kB / 405.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4319, allocations: 0 / 405.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.537/2.969, allocations: 8.606 MB / 414.1 MB, free: 7.41 MB / 282.7 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