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.001164/0.001164, allocations: 94.14 kB / 16.95 MB, free: 6.113 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.001508/0.001508, allocations: 175.3 kB / 17.84 MB, free: 5.73 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.602/1.602, allocations: 205.4 MB / 224 MB, free: 13.06 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.0004555/0.0004556, allocations: 8 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09587, allocations: 47.58 MB / 328.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004115/0.1, allocations: 3.506 MB / 332 MB, free: 448 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.1026, allocations: 1.528 MB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.1028, allocations: 16 kB / 333.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.1033, allocations: 167.2 kB / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.1037, allocations: 186.8 kB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.1051, allocations: 0.6505 MB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.1057, allocations: 0.5677 MB / 335.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.1071, allocations: 0.814 MB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.1075, allocations: 223.1 kB / 336.1 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.1078, allocations: 290.8 kB / 336.4 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.182e-05/0.1079, allocations: 28 kB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005313/0.1084, allocations: 235.7 kB / 336.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.1085, allocations: 95.59 kB / 336.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1087, allocations: 129.4 kB / 336.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.1094, allocations: 0.6779 MB / 337.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1094, allocations: 4 kB / 337.5 MB, free: 10.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1094, allocations: 0 / 337.5 MB, free: 10.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1095, allocations: 0 / 337.5 MB, free: 10.8 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.003187/0.1127, allocations: 1.104 MB / 338.7 MB, free: 9.648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1127, allocations: 12.03 kB / 338.7 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.1129, allocations: 110.5 kB / 338.8 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.1139, allocations: 183.1 kB / 339 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1142, allocations: 235 kB / 339.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.1142, allocations: 61.88 kB / 339.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.1143, allocations: 64 kB / 339.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.1156, allocations: 0.7074 MB / 340 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.1156, allocations: 3.906 kB / 340 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.1157, allocations: 35.98 kB / 340.1 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.1157, allocations: 16 kB / 340.1 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.1169, allocations: 0.6179 MB / 340.7 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.1201, allocations: 2.328 MB / 343 MB, free: 5.078 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.1217, allocations: 1.629 MB / 344.6 MB, free: 3.219 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.1222, allocations: 287.7 kB / 344.9 MB, free: 2.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.1223, allocations: 89.67 kB / 345 MB, free: 2.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.1224, allocations: 39.12 kB / 345 MB, free: 2.777 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 2.034e-06/0.1224, allocations: 0 / 345 MB, free: 2.777 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.00155/0.1239, allocations: 0.7328 MB / 345.8 MB, free: 2.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.124, allocations: 107.4 kB / 345.9 MB, free: 1.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.1243, allocations: 264.9 kB / 346.1 MB, free: 1.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.1244, allocations: 33.7 kB / 346.2 MB, free: 1.605 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.1246, allocations: 267.9 kB / 346.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.1247, allocations: 224.8 kB / 346.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.1248, allocations: 12 kB / 346.7 MB, free: 1.105 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1249, allocations: 346.8 kB / 347 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.1254, allocations: 221.9 kB / 347.2 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.1259, allocations: 313.3 kB / 347.5 MB, free: 212 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.1265, allocations: 255.3 kB / 347.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1265, allocations: 0 / 347.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001196/0.1277, allocations: 0.6492 MB / 348.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1277, allocations: 4 kB / 348.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1278, allocations: 7.984 kB / 348.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.1278, allocations: 4 kB / 348.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.1285, allocations: 159.8 kB / 348.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1285, allocations: 4 kB / 348.6 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.129, allocations: 79.36 kB / 348.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.129, allocations: 27.98 kB / 348.7 MB, free: 15.02 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.000247/0.1293, allocations: 185.7 kB / 348.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1294, allocations: 39.53 kB / 348.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.1307, allocations: 0.6279 MB / 349.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.1307, allocations: 8 kB / 349.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1307, allocations: 0 / 349.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1307, allocations: 3.984 kB / 349.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.1327, allocations: 1.316 MB / 350.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1328, allocations: 0 / 350.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.1333, allocations: 139.7 kB / 351 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1333, allocations: 0 / 351 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.1334, allocations: 16 kB / 351 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1334, allocations: 4 kB / 351 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1334, allocations: 0 / 351 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.135, allocations: 0.9978 MB / 352 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.1351, allocations: 128.6 kB / 352.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.1351, allocations: 12 kB / 352.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.1355, allocations: 35.97 kB / 352.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/0.1356, allocations: 44.44 kB / 352.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.1356, allocations: 16 kB / 352.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.1358, allocations: 192.4 kB / 352.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1358, allocations: 4 kB / 352.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005419/0.1364, allocations: 179.4 kB / 352.6 MB, free: 10.98 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.001952/0.1383, allocations: 1.582 MB / 354.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1395, allocations: 0.5507 MB / 354.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1395, allocations: 4 kB / 354.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.14, allocations: 275.5 kB / 355 MB, free: 8.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.1405, allocations: 52.42 kB / 355.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004596/0.1451, allocations: 2.766 MB / 357.9 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.1456, allocations: 0.8463 MB / 358.7 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004369/0.146, allocations: 83.39 kB / 358.8 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.1463, allocations: 179.4 kB / 359 MB, free: 4.539 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1463, allocations: 0 / 359 MB, free: 4.539 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.1658, allocations: 8.465 MB / 367.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.166, allocations: 224.2 kB / 367.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.2, allocations: 0 / 367.6 MB, free: 11.83 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