Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009353/0.0009353, allocations: 102.4 kB / 16.94 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008778/0.0008778, allocations: 178.8 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004284, allocations: 12 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08503/0.08547, allocations: 47.57 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003507/0.08901, allocations: 3.289 MB / 331.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.09131, allocations: 1.54 MB / 333.3 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.09148, allocations: 12 kB / 333.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.09185, allocations: 171 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.09225, allocations: 219.3 kB / 333.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.09345, allocations: 0.6387 MB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.09395, allocations: 435.1 kB / 334.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.09526, allocations: 0.7984 MB / 335.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.09555, allocations: 227.1 kB / 335.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.09586, allocations: 278.9 kB / 336 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.09593, allocations: 32 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.09633, allocations: 211.7 kB / 336.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.33e-05/0.09641, allocations: 91.66 kB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.09651, allocations: 129.4 kB / 336.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.09712, allocations: 0.6702 MB / 337.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.09713, allocations: 0 / 337.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09714, allocations: 0 / 337.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.09715, allocations: 0 / 337.1 MB, free: 11.22 MB / 286.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.003107/0.1003, allocations: 1.112 MB / 338.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1003, allocations: 8.031 kB / 338.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.1004, allocations: 110.5 kB / 338.4 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.1015, allocations: 183.1 kB / 338.5 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1017, allocations: 238.9 kB / 338.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.1018, allocations: 58 kB / 338.8 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.687e-05/0.1019, allocations: 64 kB / 338.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.103, allocations: 0.6996 MB / 339.6 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.1031, allocations: 3.906 kB / 339.6 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.898e-05/0.1031, allocations: 28 kB / 339.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1031, allocations: 16 kB / 339.6 MB, free: 8.594 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.1043, allocations: 0.6257 MB / 340.3 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.1074, allocations: 2.328 MB / 342.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.1093, allocations: 1.691 MB / 344.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.1094, allocations: 97.7 kB / 344.4 MB, free: 3.461 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1094, allocations: 43.12 kB / 344.4 MB, free: 3.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 2.385e-06/0.1095, allocations: 0 / 344.4 MB, free: 3.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.001497/0.111, allocations: 0.7328 MB / 345.2 MB, free: 2.672 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.111, allocations: 111.4 kB / 345.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.1113, allocations: 252.9 kB / 345.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.1113, allocations: 37.7 kB / 345.5 MB, free: 2.242 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1115, allocations: 264 kB / 345.8 MB, free: 1.98 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.1117, allocations: 224.7 kB / 346 MB, free: 1.758 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.1117, allocations: 12 kB / 346 MB, free: 1.746 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1118, allocations: 346.8 kB / 346.4 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.1123, allocations: 217.9 kB / 346.6 MB, free: 1.184 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.1128, allocations: 313.3 kB / 346.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.1133, allocations: 255.2 kB / 347.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1133, allocations: 0 / 347.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00114/0.1144, allocations: 0.649 MB / 347.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.1145, allocations: 8.125 kB / 347.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1145, allocations: 4 kB / 347.8 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.1145, allocations: 8 kB / 347.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.1152, allocations: 163.8 kB / 348 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1152, allocations: 4 kB / 348 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.1157, allocations: 75.34 kB / 348 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.1157, allocations: 31.98 kB / 348.1 MB, free: 15.66 MB / 302.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 () * 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.0002268/0.116, allocations: 189.7 kB / 348.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.1161, allocations: 35.53 kB / 348.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.1173, allocations: 0.6279 MB / 348.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1173, allocations: 4 kB / 348.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1173, allocations: 4 kB / 348.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1173, allocations: 3.984 kB / 348.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.1193, allocations: 1.308 MB / 350.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1193, allocations: 4 kB / 350.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.1199, allocations: 131.8 kB / 350.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1199, allocations: 4 kB / 350.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.1199, allocations: 19.98 kB / 350.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1199, allocations: 4 kB / 350.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.1199, allocations: 0 / 350.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.1215, allocations: 1.011 MB / 351.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.1216, allocations: 120.6 kB / 351.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.1217, allocations: 12 kB / 351.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.1221, allocations: 43.97 kB / 351.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.1222, allocations: 44.41 kB / 351.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.1222, allocations: 23.98 kB / 351.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001658/0.1224, allocations: 184.5 kB / 351.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1224, allocations: 0 / 351.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005304/0.1229, allocations: 179.4 kB / 352 MB, free: 11.61 MB / 302.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 () * 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.001917/0.1249, allocations: 1.664 MB / 353.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1259, allocations: 0.5469 MB / 354.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1259, allocations: 0 / 354.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.1264, allocations: 283.1 kB / 354.5 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1268, allocations: 40.81 kB / 354.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.1313, allocations: 3.685 MB / 358.2 MB, free: 5.293 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1317, allocations: 0.858 MB / 359.1 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.1321, allocations: 79.39 kB / 359.2 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.1323, allocations: 183.4 kB / 359.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1323, allocations: 0 / 359.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.1519, allocations: 8.441 MB / 367.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.1521, allocations: 206.4 kB / 368 MB, free: 11.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.929, allocations: 4 kB / 368 MB, free: 11.48 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat