Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",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.001064/0.001064, allocations: 102.7 kB / 16.95 MB, free: 6.449 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.001442/0.001442, allocations: 182.5 kB / 17.84 MB, free: 6.004 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.545/1.545, 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.0004769/0.000477, allocations: 8 kB / 280.9 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09052, allocations: 47.57 MB / 328.5 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004102/0.09467, allocations: 3.638 MB / 332.1 MB, free: 328 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002578/0.09729, allocations: 1.547 MB / 333.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.0977, allocations: 12 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005089/0.09822, allocations: 163.1 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006405/0.09887, allocations: 210.7 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1002, allocations: 0.6427 MB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006832/0.1009, allocations: 0.5831 MB / 335.2 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.1025, allocations: 0.8452 MB / 336.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003533/0.1029, allocations: 223.1 kB / 336.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.1033, allocations: 306.8 kB / 336.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.1034, allocations: 28 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.1039, allocations: 231.7 kB / 336.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.104e-05/0.104, allocations: 103.5 kB / 337 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.1041, allocations: 137.4 kB / 337.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.1049, allocations: 0.7091 MB / 337.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1049, allocations: 3.938 kB / 337.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1049, allocations: 0 / 337.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.1049, allocations: 0 / 337.8 MB, free: 10.55 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003305/0.1082, allocations: 1.159 MB / 339 MB, free: 9.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1083, allocations: 8.031 kB / 339 MB, free: 9.336 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.1084, allocations: 114.6 kB / 339.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.1098, allocations: 214.9 kB / 339.3 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.11, allocations: 234.2 kB / 339.5 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.1101, allocations: 54 kB / 339.6 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1102, allocations: 76 kB / 339.7 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.1116, allocations: 0.7776 MB / 340.4 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.1116, allocations: 0 / 340.4 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.1117, allocations: 32 kB / 340.5 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.1117, allocations: 16 kB / 340.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.113, allocations: 0.6844 MB / 341.2 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003899/0.1169, allocations: 3.126 MB / 344.3 MB, free: 3.684 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.1191, allocations: 2.085 MB / 346.4 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006281/0.1198, allocations: 331.5 kB / 346.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.1199, allocations: 97.73 kB / 346.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1199, allocations: 47.22 kB / 346.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.1199, allocations: 0 / 346.8 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002555/0.1225, allocations: 1.165 MB / 348 MB, free: 15.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.1226, allocations: 111.5 kB / 348.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.1229, allocations: 274.4 kB / 348.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.123, allocations: 41.7 kB / 348.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1232, allocations: 291.5 kB / 348.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.1234, allocations: 248.3 kB / 348.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1234, allocations: 16 kB / 349 MB, free: 14.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1236, allocations: 354.7 kB / 349.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.1241, allocations: 237.9 kB / 349.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.1247, allocations: 398.2 kB / 349.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006057/0.1253, allocations: 290.9 kB / 350.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.1253, allocations: 4 kB / 350.2 MB, free: 13.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001654/0.127, allocations: 0.8423 MB / 351.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.127, allocations: 11.95 kB / 351.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1271, allocations: 0 / 351.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.1275, allocations: 125.7 kB / 351.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.1282, allocations: 163.7 kB / 351.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.1312, allocations: 3.404 MB / 354.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.1318, allocations: 103 kB / 354.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.1319, allocations: 28 kB / 354.9 MB, free: 8.305 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003338/0.1323, allocations: 205.6 kB / 355.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.1324, allocations: 43.52 kB / 355.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.134, allocations: 0.7648 MB / 355.9 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.134, allocations: 8.219 kB / 355.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.134, allocations: 0 / 355.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.134, allocations: 19.91 kB / 355.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.1366, allocations: 1.516 MB / 357.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.1367, allocations: 4 kB / 357.4 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.1372, allocations: 115.8 kB / 357.6 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003666/0.1376, allocations: 117.6 kB / 357.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.1376, allocations: 12 kB / 357.7 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.1408, allocations: 3.105 MB / 360.8 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1408, allocations: 0 / 360.8 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.1427, allocations: 1.148 MB / 361.9 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.143, allocations: 132.5 kB / 362.1 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.143, allocations: 12 kB / 362.1 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.1434, allocations: 40.05 kB / 362.1 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.1436, allocations: 52.53 kB / 362.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/0.1437, allocations: 19.98 kB / 362.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002852/0.144, allocations: 194 kB / 362.4 MB, free: 420 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.144, allocations: 0 / 362.4 MB, free: 420 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008695/0.1449, allocations: 211.5 kB / 362.6 MB, free: 208 kB / 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 (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002677/0.1475, allocations: 1.731 MB / 364.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.1496, allocations: 0.8997 MB / 365.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1496, allocations: 0 / 365.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009913/0.1506, allocations: 0.5716 MB / 365.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.1512, allocations: 40.55 kB / 365.8 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/0.1572, allocations: 3.059 MB / 368.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.1579, allocations: 0.8656 MB / 369.7 MB, free: 8.828 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.1583, allocations: 80.34 kB / 369.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/0.1587, allocations: 203.4 kB / 370 MB, free: 8.551 MB / 318.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1587, allocations: 0 / 370 MB, free: 8.551 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1717/0.3304, allocations: 9.745 MB / 379.8 MB, free: 51.04 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/0.3307, allocations: 239.3 kB / 380 MB, free: 50.8 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.415, allocations: 2.969 kB / 380 MB, free: 50.8 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.CuboidSections_res.mat does not exist to compare? outputFormat=mat